0s autopkgtest [13:13:18]: starting date and time: 2026-01-29 13:13:18+0000 0s autopkgtest [13:13:18]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [13:13:18]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gvajhx3_/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pkgconf --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 -- 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-20.secgroup --name adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 --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/ 4s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 60s autopkgtest [13:14:18]: testbed dpkg architecture: arm64 60s autopkgtest [13:14:18]: testbed apt version: 3.1.14 60s autopkgtest [13:14:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 60s autopkgtest [13:14:18]: testbed release detected to be: None 61s autopkgtest [13:14:19]: updating testbed package index (apt update) 62s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 62s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 62s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 62s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 63s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 63s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 63s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 63s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 63s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 63s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 63s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 63s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 63s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 63s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 63s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 63s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 65s Fetched 2280 kB in 2s (1410 kB/s) 66s Reading package lists... 67s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 67s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 67s Reading package lists... 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s The following packages will be upgraded: 68s liburcu8t64 libxcb1 tzdata 68s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 313 kB of archives. 68s After this operation, 65.5 kB disk space will be freed. 68s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 68s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 68s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 69s dpkg-preconfigure: unable to re-open stdin: No such file or directory 69s Fetched 313 kB in 0s (1697 kB/s) 69s (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 ... 135255 files and directories currently installed.) 69s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 69s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 69s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 69s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 69s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 69s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 69s Setting up liburcu8t64:arm64 (0.15.6-1) ... 69s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 69s Setting up tzdata (2025c-3ubuntu3) ... 70s 70s Current default time zone: 'Etc/UTC' 70s Local time is now: Thu Jan 29 13:14:28 UTC 2026. 70s Universal Time is now: Thu Jan 29 13:14:28 UTC 2026. 70s Run 'dpkg-reconfigure tzdata' if you wish to change it. 70s 70s Processing triggers for libc-bin (2.42-2ubuntu4) ... 70s autopkgtest [13:14:28]: upgrading testbed (apt dist-upgrade and autopurge) 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Calculating upgrade... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s autopkgtest [13:14:32]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:41:39 UTC 2026 74s autopkgtest [13:14:32]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 84s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 84s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 84s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 84s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 84s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 84s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 84s gpgv: Can't check signature: No public key 84s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 84s autopkgtest [13:14:42]: testing package glib2.0 version 2.86.3-4 89s autopkgtest [13:14:47]: build not needed 97s autopkgtest [13:14:55]: test build: preparing testbed 97s Reading package lists... 98s Building dependency tree... 98s Reading state information... 98s Solving dependencies... 98s The following NEW packages will be installed: 98s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 98s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 98s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 98s libcc1-0 libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 libhwasan0 98s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 98s libpcre2-dev libpcre2-posix3 libpkgconf7 libselinux-dev libsepol-dev 98s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 98s pkgconf-bin uuid-dev zlib1g-dev 100s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 69.7 MB of archives. 100s After this operation, 246 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [11.7 MB] 100s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-11ubuntu1 [1030 B] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 100s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 100s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-11ubuntu1 [49.0 kB] 100s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-11ubuntu1 [147 kB] 100s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-11ubuntu1 [28.0 kB] 100s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-11ubuntu1 [2920 kB] 100s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-11ubuntu1 [1316 kB] 100s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-11ubuntu1 [2690 kB] 100s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-11ubuntu1 [1176 kB] 100s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-11ubuntu1 [1638 kB] 100s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-11ubuntu1 [2600 kB] 100s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [23.1 MB] 101s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-11ubuntu1 [517 kB] 101s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 101s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 101s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-11ubuntu1 [2547 kB] 101s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [13.2 MB] 101s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-11ubuntu1 [24.6 kB] 101s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 101s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 101s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 101s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 101s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 101s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 101s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 101s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 101s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 101s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 101s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 101s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 101s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 101s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 101s Get:37 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpkgconf7 arm64 2.5.1-2 [38.1 kB] 101s Get:38 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 pkgconf-bin arm64 2.5.1-2 [22.4 kB] 101s Get:39 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 pkgconf arm64 2.5.1-2 [20.0 kB] 101s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 101s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB] 102s Fetched 69.7 MB in 3s (20.9 MB/s) 102s Selecting previously unselected package libisl23:arm64. 102s (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 ... 135255 files and directories currently installed.) 102s Preparing to unpack .../00-libisl23_0.27-1build1_arm64.deb ... 102s Unpacking libisl23:arm64 (0.27-1build1) ... 102s Selecting previously unselected package libmpc3:arm64. 102s Preparing to unpack .../01-libmpc3_1.3.1-2_arm64.deb ... 102s Unpacking libmpc3:arm64 (1.3.1-2) ... 102s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 102s Preparing to unpack .../02-cpp-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package cpp-15. 102s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package cpp-aarch64-linux-gnu. 102s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 102s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package cpp. 102s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 102s Unpacking cpp (4:15.2.0-4ubuntu1) ... 102s Selecting previously unselected package libcc1-0:arm64. 102s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libcc1-0:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libgomp1:arm64. 102s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libgomp1:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libitm1:arm64. 102s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libitm1:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libasan8:arm64. 102s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libasan8:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package liblsan0:arm64. 102s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking liblsan0:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libtsan2:arm64. 102s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libtsan2:arm64 (15.2.0-11ubuntu1) ... 102s Selecting previously unselected package libubsan1:arm64. 102s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_arm64.deb ... 102s Unpacking libubsan1:arm64 (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package libhwasan0:arm64. 103s Preparing to unpack .../13-libhwasan0_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking libhwasan0:arm64 (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package libgcc-15-dev:arm64. 103s Preparing to unpack .../14-libgcc-15-dev_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking libgcc-15-dev:arm64 (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 103s Preparing to unpack .../15-gcc-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package gcc-15. 103s Preparing to unpack .../16-gcc-15_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package gcc-aarch64-linux-gnu. 103s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 103s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 103s Selecting previously unselected package gcc. 103s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 103s Unpacking gcc (4:15.2.0-4ubuntu1) ... 103s Selecting previously unselected package libstdc++-15-dev:arm64. 103s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking libstdc++-15-dev:arm64 (15.2.0-11ubuntu1) ... 103s Selecting previously unselected package g++-15-aarch64-linux-gnu. 103s Preparing to unpack .../20-g++-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 103s Unpacking g++-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 104s Selecting previously unselected package g++-15. 104s Preparing to unpack .../21-g++-15_15.2.0-11ubuntu1_arm64.deb ... 104s Unpacking g++-15 (15.2.0-11ubuntu1) ... 104s Selecting previously unselected package g++-aarch64-linux-gnu. 104s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 104s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 104s Selecting previously unselected package g++. 104s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 104s Unpacking g++ (4:15.2.0-4ubuntu1) ... 104s Selecting previously unselected package build-essential. 104s Preparing to unpack .../24-build-essential_12.12ubuntu2_arm64.deb ... 104s Unpacking build-essential (12.12ubuntu2) ... 104s Selecting previously unselected package libffi-dev:arm64. 104s Preparing to unpack .../25-libffi-dev_3.5.2-3_arm64.deb ... 104s Unpacking libffi-dev:arm64 (3.5.2-3) ... 104s Selecting previously unselected package uuid-dev:arm64. 104s Preparing to unpack .../26-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 104s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 104s Selecting previously unselected package libblkid-dev:arm64. 104s Preparing to unpack .../27-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 104s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 104s Selecting previously unselected package libsepol-dev:arm64. 104s Preparing to unpack .../28-libsepol-dev_3.9-2_arm64.deb ... 104s Unpacking libsepol-dev:arm64 (3.9-2) ... 104s Selecting previously unselected package libpcre2-16-0:arm64. 104s Preparing to unpack .../29-libpcre2-16-0_10.46-1_arm64.deb ... 104s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 104s Selecting previously unselected package libpcre2-32-0:arm64. 104s Preparing to unpack .../30-libpcre2-32-0_10.46-1_arm64.deb ... 104s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 104s Selecting previously unselected package libpcre2-posix3:arm64. 104s Preparing to unpack .../31-libpcre2-posix3_10.46-1_arm64.deb ... 104s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 104s Selecting previously unselected package libpcre2-dev:arm64. 104s Preparing to unpack .../32-libpcre2-dev_10.46-1_arm64.deb ... 104s Unpacking libpcre2-dev:arm64 (10.46-1) ... 104s Selecting previously unselected package libselinux-dev:arm64. 104s Preparing to unpack .../33-libselinux-dev_3.9-4_arm64.deb ... 104s Unpacking libselinux-dev:arm64 (3.9-4) ... 104s Selecting previously unselected package libmount-dev:arm64. 104s Preparing to unpack .../34-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 104s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 104s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 104s Preparing to unpack .../35-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 104s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 104s Selecting previously unselected package libpkgconf7:arm64. 104s Preparing to unpack .../36-libpkgconf7_2.5.1-2_arm64.deb ... 104s Unpacking libpkgconf7:arm64 (2.5.1-2) ... 104s Selecting previously unselected package pkgconf-bin. 104s Preparing to unpack .../37-pkgconf-bin_2.5.1-2_arm64.deb ... 104s Unpacking pkgconf-bin (2.5.1-2) ... 104s Selecting previously unselected package pkgconf:arm64. 104s Preparing to unpack .../38-pkgconf_2.5.1-2_arm64.deb ... 104s Unpacking pkgconf:arm64 (2.5.1-2) ... 104s Selecting previously unselected package zlib1g-dev:arm64. 104s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 104s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 105s Selecting previously unselected package libgio-2.0-dev:arm64. 105s Preparing to unpack .../40-libgio-2.0-dev_2.86.3-4_arm64.deb ... 105s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ... 105s Setting up libpkgconf7:arm64 (2.5.1-2) ... 105s Setting up libgomp1:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libffi-dev:arm64 (3.5.2-3) ... 105s Setting up libpcre2-16-0:arm64 (10.46-1) ... 105s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 105s Setting up libpcre2-32-0:arm64 (10.46-1) ... 105s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 105s Setting up libmpc3:arm64 (1.3.1-2) ... 105s Setting up libsepol-dev:arm64 (3.9-2) ... 105s Setting up pkgconf-bin (2.5.1-2) ... 105s Setting up libubsan1:arm64 (15.2.0-11ubuntu1) ... 105s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 105s Setting up libpcre2-posix3:arm64 (10.46-1) ... 105s Setting up libhwasan0:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libasan8:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libtsan2:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libisl23:arm64 (0.27-1build1) ... 105s Setting up libcc1-0:arm64 (15.2.0-11ubuntu1) ... 105s Setting up liblsan0:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libitm1:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 105s Setting up cpp-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 105s Setting up libgcc-15-dev:arm64 (15.2.0-11ubuntu1) ... 105s Setting up libpcre2-dev:arm64 (10.46-1) ... 105s Setting up pkgconf:arm64 (2.5.1-2) ... 105s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 105s Setting up libstdc++-15-dev:arm64 (15.2.0-11ubuntu1) ... 105s Setting up cpp-15 (15.2.0-11ubuntu1) ... 105s Setting up cpp (4:15.2.0-4ubuntu1) ... 105s Setting up libselinux-dev:arm64 (3.9-4) ... 105s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 105s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ... 105s Setting up gcc-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 105s Setting up gcc-15 (15.2.0-11ubuntu1) ... 105s Setting up g++-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 105s Setting up g++-15 (15.2.0-11ubuntu1) ... 105s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 105s Setting up gcc (4:15.2.0-4ubuntu1) ... 105s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 105s Setting up g++ (4:15.2.0-4ubuntu1) ... 105s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 105s Setting up build-essential (12.12ubuntu2) ... 105s Processing triggers for libc-bin (2.42-2ubuntu4) ... 105s Processing triggers for man-db (2.13.1-1) ... 106s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 106s No schema files found: doing nothing. 106s Processing triggers for install-info (7.2-5) ... 107s autopkgtest [13:15:05]: test build: [----------------------- 107s + mode=dynamic 107s + getopt -o --long static -n debian/tests/build -- 107s + getopt_temp= -- 107s + eval set -- -- 107s + set -- -- 107s + true 107s + shift 107s + break 107s + mktemp -d 107s + WORKDIR=/tmp/tmp.xuBotaAoG7 107s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 107s + cd /tmp/tmp.xuBotaAoG7 107s + [ -n ] 107s + CROSS_COMPILE= 107s + cat 107s + cat 107s + cat 107s + cat 107s + cat 107s + cat 107s + cflags= 107s + pcflags= 107s + packages=glib-2.0 107s + pkg-config --cflags --libs glib-2.0 107s + 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 107s build (glib, dynamic): OK 107s + echo build (glib, dynamic): OK 107s + [ -x glib-dynamic ] 107s + foo=bar ./glib-dynamic 107s + echo run (glib, dynamic): OK 107s + cflags= 107s + pcflags= 107s + packages=gobject-2.0 107s run (glib, dynamic): OK 107s + pkg-config --cflags --libs gobject-2.0 107s + 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 107s build (gobject, dynamic): OK 107s + echo build (gobject, dynamic): OK 107s + [ -x gobject-dynamic ] 107s + foo=bar ./gobject-dynamic 107s run (gobject, dynamic): OK 107s + echo run (gobject, dynamic): OK 107s + cflags= 107s + pcflags= 107s + packages=gio-2.0 107s + pkg-config --cflags --libs gio-2.0 107s + 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/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 107s build (gio, dynamic): OK 107s + echo build (gio, dynamic): OK 107s + [ -x gio-dynamic ] 107s + foo=bar ./gio-dynamic 107s run (gio, dynamic): OK 107s + echo run (gio, dynamic): OK 107s + cflags= 107s + pcflags= 107s + packages=gio-unix-2.0 107s + pkg-config --cflags --libs gio-unix-2.0 107s + 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/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 108s build (gio-unix, dynamic): OK 108s run (gio-unix, dynamic): OK 108s + echo build (gio-unix, dynamic): OK 108s + [ -x gio-unix-dynamic ] 108s + foo=bar ./gio-unix-dynamic 108s + echo run (gio-unix, dynamic): OK 108s + cflags= 108s + pcflags= 108s + packages=gmodule-2.0 108s + pkg-config --cflags --libs gmodule-2.0 108s + 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 108s + echo build (gmodule, dynamic): OK 108s + [ -x gmodule-dynamic ] 108s + foo=bar ./gmodule-dynamic 108s build (gmodule, dynamic): OK 108s run (gmodule, dynamic): OK 108s + echo run (gmodule, dynamic): OK 108s + cflags= 108s + pcflags= 108s + packages=gthread-2.0 108s + pkg-config --cflags --libs gthread-2.0 108s + 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 108s build (gthread, dynamic): OK 108s + echo build (gthread, dynamic): OK 108s + [ -x gthread-dynamic ] 108s + foo=bar ./gthread-dynamic 108s + echo run (gthread, dynamic): OK 108s + rm -rf /tmp/tmp.xuBotaAoG7 108s run (gthread, dynamic): OK 108s autopkgtest [13:15:06]: test build: -----------------------] 108s build PASS (superficial) 108s autopkgtest [13:15:06]: test build: - - - - - - - - - - results - - - - - - - - - - 109s autopkgtest [13:15:07]: test build-static: preparing testbed 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s Solving dependencies... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s autopkgtest [13:15:08]: test build-static: [----------------------- 111s + mode=dynamic 111s + getopt -o --long static -n debian/tests/build -- --static 111s + getopt_temp= --static -- 111s + eval set -- --static -- 111s + set -- --static -- 111s + true 111s + mode=static 111s + shift 111s + continue 111s + true 111s + shift 111s + break 111s + mktemp -d 111s + WORKDIR=/tmp/tmp.FtTLvyYwDt 111s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 111s + cd /tmp/tmp.FtTLvyYwDt 111s + [ -n ] 111s + CROSS_COMPILE= 111s + cat 111s + cat 111s + cat 111s + cat 111s + cat 111s + cat 111s + cflags= 111s + pcflags= 111s + packages=glib-2.0 111s + cflags=-static 111s + pcflags=--static 111s + pkg-config --static --cflags --libs glib-2.0 111s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 111s /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': 111s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 111s /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 111s /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 111s build (glib, static): OK 111s + echo build (glib, static): OK 111s + [ -x glib-static ] 111s + foo=bar ./glib-static 111s + run (glib, static): OK 111s echo run (glib, static): OK 111s + cflags= 111s + pcflags= 111s + packages=gobject-2.0 111s + cflags=-static 111s + pcflags=--static 111s + pkg-config --static --cflags --libs gobject-2.0 111s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 111s /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': 111s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 111s /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 111s /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 111s build (gobject, static): OK 111s + echo build (gobject, static): OK 111s + [ -x gobject-static ] 111s + foo=bar ./gobject-static 111s + echo run (gobject, static): OK 111s + cflags= 111s + pcflags= 111s + packages=gio-2.0 111s + cflags=-static 111s + pcflags=--static 111s + continue 111s + cflags= 111s + pcflags= 111s + packages=gio-unix-2.0 111s + cflags=-static 111s + run (gobject, static): OK 111s pcflags=--static 111s + continue 111s + cflags= 111s + pcflags= 111s + packages=gmodule-2.0 111s + cflags=-static 111s + pcflags=--static 111s + pkg-config --static --cflags --libs gmodule-2.0 111s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 111s /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': 111s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 111s /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': 111s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 111s /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 111s /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 111s build (gmodule, static): OK 111s + echo build (gmodule, static): OK 111s + [ -x gmodule-static ] 111s + foo=bar ./gmodule-static 111s + echo run (gmodule, static): OK 111s run (gmodule, static): OK 111s + cflags= 111s + pcflags= 111s + packages=gthread-2.0 111s + cflags=-static 111s + pcflags=--static 111s + pkg-config --static --cflags --libs gthread-2.0 111s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 111s /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': 111s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 111s /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 111s /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 111s + echo build (gthread, static): OK 111s + [ -x gthread-static ] 111s + foo=bar ./gthread-static 111s build (gthread, static): OK 111s run (gthread, static): OK 111s + echo run (gthread, static): OK 111s + rm -rf /tmp/tmp.FtTLvyYwDt 112s autopkgtest [13:15:10]: test build-static: -----------------------] 112s build-static PASS (superficial) 112s autopkgtest [13:15:10]: test build-static: - - - - - - - - - - results - - - - - - - - - - 112s autopkgtest [13:15:10]: test girepository-tools: preparing testbed 131s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 141s nova [E] nova boot failed (attempt #0): 141s nova [E] DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 141s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 141s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 141s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 141s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 141s DEBUG (session:517) REQ: curl -g -i -X GET https://keystone.ps7.canonical.com:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 141s DEBUG (connectionpool:939) Starting new HTTPS connection (1): keystone.ps7.canonical.com:5000 141s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "GET /v3 HTTP/1.1" 200 267 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 267 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:32 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-d0af0f8a-da03-4281-9507-b30822713b48 141s DEBUG (session:580) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://keystone.ps7.canonical.com:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} 141s DEBUG (session:946) GET call to https://keystone.ps7.canonical.com:5000/v3 used request id req-d0af0f8a-da03-4281-9507-b30822713b48 141s DEBUG (base:182) Making authentication request to https://keystone.ps7.canonical.com:5000/v3/auth/tokens 141s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12962 141s DEBUG (base:187) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "5676cac36e4942629c54e24741ff7157", "name": "prod-autopkgtest-workers-arm64", "password_expires_at": null}, "audit_ids": ["EuyE0UszQFyriFEWE8EsLQ"], "expires_at": "2026-01-30T13:15:33.000000Z", "issued_at": "2026-01-29T13:15:33.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "e27006f5eb9946719a589a78f7f099f8", "name": "prod-autopkgtest-workers-arm64_project"}, "is_domain": false, "roles": [{"id": "a31fb543f37543d3b12c7fcb6e29636f", "name": "load-balancer_member"}, {"id": "9531825e299647e9b8713fcf36566f08", "name": "member"}, {"id": "c4de4cd4a6e842c48c193225243b4507", "name": "reader"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "09e03191c89d4421aebaa8dcff0e22e3", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "0b44af32db1b408da5b67a834350711b", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "325f3c044aa54591be49e39f7260483d", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "07902f28d63c4792bef57723f11a597e", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "296a5126b56949f8abc8663ba48d7c69", "interface": "admin", "region_id": "prodstack7", "url": "https://nova-admin.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "4ed46fd286814be9ad5f53c713db2b21", "interface": "public", "region_id": "prodstack7", "url": "https://nova.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "f920fb8274c74c72b50e57ac95f88f51", "interface": "internal", "region_id": "prodstack7", "url": "https://nova-internal.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}], "id": "0f4ee03d0c134dceb7ed6b2fa51eb189", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "074ea936d15d47e8ba1b8f1347fdaeec", "interface": "admin", "region_id": "prodstack7", "url": "https://neutron-admin.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "4d5667208af943eab425bb1952f67d2f", "interface": "public", "region_id": "prodstack7", "url": "https://neutron.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "ae71a7dd75fc495fa3dd207ac977346d", "interface": "internal", "region_id": "prodstack7", "url": "https://neutron-internal.ps7.canonical.com:9696", "region": "prodstack7"}], "id": "1fde991012bf4a91a97b5b02cd662e5d", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "5f3171f69df346c9a40ff13f8a9f3feb", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "951c2c04417d456eb29a4cbd2675f1bc", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "e4062e144ad243cbb53c8ce87aefee44", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8000/v1", "region": "prodstack7"}], "id": "2c59c0123c304ef3824d75e9779ac5a3", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "4a95fbf112804721b96a3578858faf45", "interface": "internal", "region_id": "prodstack7", "url": "https://octavia-internal.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "56bed7c3efd54a57bae11cc93844edc5", "interface": "public", "region_id": "prodstack7", "url": "https://octavia.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "e9c2ec6bc0e94e1e8ca6b15aa24b9294", "interface": "admin", "region_id": "prodstack7", "url": "https://octavia-admin.ps7.canonical.com:9876", "region": "prodstack7"}], "id": "4e42217a7f46428b87e7458a8a73942c", "type": "load-balancer", "name": "octavia"}, {"endpoints": [{"id": "29929a56ac7944d8867150f9d9a51ffe", "interface": "public", "region_id": "prodstack7", "url": "https://gnocchi.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "d1146fdec43e4c339f3c0766fda1923d", "interface": "internal", "region_id": "prodstack7", "url": "https://gnocchi-internal.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "ff5d256a28064e13b52758d6206687eb", "interface": "admin", "region_id": "prodstack7", "url": "https://gnocchi-admin.ps7.canonical.com:8041", "region": "prodstack7"}], "id": "50872dac84974216b104c7eef043dfe6", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "3901a2889b584fe5baf1325da2d5571c", "interface": "internal", "region_id": "prodstack7", "url": "https://aodh-internal.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "94f9e723537a4d0ab35ab53fe1af6f01", "interface": "public", "region_id": "prodstack7", "url": "https://aodh.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "f3fc8781a98149c680bd7f34c6893410", "interface": "admin", "region_id": "prodstack7", "url": "https://aodh-admin.ps7.canonical.com:8042", "region": "prodstack7"}], "id": "6f7af5495c2447c9bf258f72605a99b1", "type": "alarming", "name": "aodh"}, {"endpoints": [{"id": "0592d4bf15d54ba8aac00dfc34292295", "interface": "admin", "region_id": "prodstack7", "url": "https://keystone-admin.ps7.canonical.com:35357/v3", "region": "prodstack7"}, {"id": "1f5df236ded54026af4f5e947a599b2f", "interface": "internal", "region_id": "prodstack7", "url": "https://keystone-internal.ps7.canonical.com:5000/v3", "region": "prodstack7"}, {"id": "cd17fef7e3d246b3974b2ffe55b7889c", "interface": "public", "region_id": "prodstack7", "url": "https://keystone.ps7.canonical.com:5000/v3", "region": "prodstack7"}], "id": "7ad024307b634ea989f1e03d73d7737b", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "001dac935b6c44b1ad62c90175538578", "interface": "admin", "region_id": "prodstack7", "url": "https://cinder-admin.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "90abac2983a34488bb6ada4e5004bb99", "interface": "public", "region_id": "prodstack7", "url": "https://cinder.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "e49add7152684a8e9e1e3ea9502b5dc6", "interface": "internal", "region_id": "prodstack7", "url": "https://cinder-internal.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "7bea8b97c0304a62afd8325515928cc0", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "2450babeee5e4fe49947cbe7bcc0f3c3", "interface": "public", "region_id": "prodstack7", "url": "https://designate.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "c2e77ece29cd4dc7bf518bb51c619cce", "interface": "internal", "region_id": "prodstack7", "url": "https://designate-internal.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "fc292615aa2d43ff943da365870944ce", "interface": "admin", "region_id": "prodstack7", "url": "https://designate-admin.ps7.canonical.com:9001", "region": "prodstack7"}], "id": "8d13654c658644c4a375ce8428638f3d", "type": "dns", "name": "designate"}, {"endpoints": [{"id": "604f1f7088c54ec4a558d1747b0e7396", "interface": "public", "region_id": "prodstack7", "url": "https://barbican.ps7.canonical.com:9311", "region": "prodstack7"}, {"id": "81268c6bd3524a4d85af3d6faa426863", "interface": "admin", "region_id": "prodstack7", "url": "https://barbican-admin.ps7.canonical.com:9312", "region": "prodstack7"}, {"id": "becc73f676f34e66ab1daf0fbcb42366", "interface": "internal", "region_id": "prodstack7", "url": "https://barbican-internal.ps7.canonical.com:9311", "region": "prodstack7"}], "id": "8df4ed7c02d44fe28ec72b1e19e3f66f", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "38557e1243014f1abaa578a61bb0a387", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "b12d5a4329f94a1fa6dbd2cd38ebcd52", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "bc081c0d5d954446b7ee77886f5d68a3", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "8e7967c2620d49448787e035e8f21af0", "type": "share", "name": "manila"}, {"endpoints": [{"id": "03802d072c514ae484a2d26be0c906af", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "c07a315e261f430d94542a872596d654", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "d62fcd20c1e34d64930fbec97503a40a", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/", "region": "prodstack7"}], "id": "9569f1b0b4714254a3d116760dc3968d", "type": "s3", "name": "s3"}, {"endpoints": [{"id": "0e64627804e741e5948b4d35e1914624", "interface": "internal", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "12d47bbd1cc64dbf8d4e442b821c64f2", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift/simplestreams/data", "region": "prodstack7"}, {"id": "35aba6c3a1fc4041b30963e8b6c7b929", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}, {"id": "35bc5168fcc2414a9d89313cdef8bca9", "interface": "admin", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "5f7980b3f8e746e6bbd66c9cef81714e", "interface": "public", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "739ab5131dff4cdbb3151f6de36b36f6", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}], "id": "b28a039721b147af8e77d77242d4297f", "type": "product-streams", "name": "image-stream"}, {"endpoints": [{"id": "9321fba4588641dbb1c9f89508f1bf23", "interface": "internal", "region_id": "prodstack7", "url": "https://placement-internal.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "9a75eebf33e7409d9b69dc7e650f756c", "interface": "admin", "region_id": "prodstack7", "url": "https://placement-admin.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "c03942ddacb94fe39c1529aa74bd31c1", "interface": "public", "region_id": "prodstack7", "url": "https://placement.ps7.canonical.com:8778", "region": "prodstack7"}], "id": "bc5c019477934e89bab2a097e8df84b6", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "b8152f5e649d4603ac092897639d38c9", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift", "region": "prodstack7"}, {"id": "baa313d85b904c308b7a5c98505fc32c", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "c17c3db416224561b5e045562bbe76bf", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "c6dd2bcf96bf44c2a99e39d1302563f1", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "526da263451648898c9187c65f441a1c", "interface": "public", "region_id": "prodstack7", "url": "https://glance.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "61b55755ca9e4e2ab04a144f92cb6e97", "interface": "admin", "region_id": "prodstack7", "url": "https://glance-admin.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "9080969b2cde4926b647f63b9591233c", "interface": "internal", "region_id": "prodstack7", "url": "https://glance-internal.ps7.canonical.com:9292", "region": "prodstack7"}], "id": "dd3a22e287464998be0514a67dafb7e4", "type": "image", "name": "glance"}, {"endpoints": [{"id": "2f4dcba2a4ce46b2a2e3cf103fd929f4", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "789faa303fb54473b9449fa2f52866b3", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "fa7fa08da5e147df8dbc9528f3d7135b", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "f6880aea736446b8a4232e0cf3528a12", "type": "sharev2", "name": "manilav2"}]}} 141s REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" 141s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" 141s DEBUG (connectionpool:939) Starting new HTTPS connection (1): nova.ps7.canonical.com:8774 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1 HTTP/1.1" 302 0 141s RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-aaa2bcb5-9a7f-4bbe-8185-996fb358d889 x-openstack-request-id: req-aaa2bcb5-9a7f-4bbe-8185-996fb358d889 141s DEBUG (session:548) RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-aaa2bcb5-9a7f-4bbe-8185-996fb358d889 x-openstack-request-id: req-aaa2bcb5-9a7f-4bbe-8185-996fb358d889 141s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 141s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/ HTTP/1.1" 200 397 141s RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-71f47e95-52e4-40a3-bb88-13200e0a1b1f x-openstack-request-id: req-71f47e95-52e4-40a3-bb88-13200e0a1b1f 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-71f47e95-52e4-40a3-bb88-13200e0a1b1f x-openstack-request-id: req-71f47e95-52e4-40a3-bb88-13200e0a1b1f 141s RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 141s DEBUG (session:580) RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 141s GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-71f47e95-52e4-40a3-bb88-13200e0a1b1f 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-71f47e95-52e4-40a3-bb88-13200e0a1b1f 141s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 141s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 141s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 141s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 141s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 141s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 141s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:939) Starting new HTTPS connection (1): glance.ps7.canonical.com:9292 141s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-f7bc6d52-a6a2-4ed4-880b-eb1ff5ac6c2a 141s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 141s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-f7bc6d52-a6a2-4ed4-880b-eb1ff5ac6c2a 141s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 HTTP/1.1" 404 107 141s DEBUG (session:548) RESP: [404] Connection: Keep-Alive Content-Length: 107 Content-Type: application/json; charset=UTF-8 Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=998 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-6e1b82dc-6829-4762-a2b1-1a5d11fc5c3f x-openstack-request-id: req-6e1b82dc-6829-4762-a2b1-1a5d11fc5c3f 141s DEBUG (session:580) RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor autopkgtest-cpu2-ram4-disk20-arm64 could not be found."}} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 used request id req-6e1b82dc-6829-4762-a2b1-1a5d11fc5c3f 141s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 2409 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2409 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=997 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-d5f7c895-4eb0-4be8-afeb-ed561055cb57 x-openstack-request-id: req-d5f7c895-4eb0-4be8-afeb-ed561055cb57 141s DEBUG (session:580) RESP BODY: {"flavors": [{"id": "0571a7bf-8e9f-4061-bcc6-303958386001", "name": "shared.medium.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}], "description": null}, {"id": "2a7bd40a-96c0-4700-abda-65a771e3e22c", "name": "shared.small.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}], "description": null}, {"id": "9b6f3976-e59d-4977-aaf4-5260d6d8e256", "name": "shared.xsmall.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}], "description": null}, {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null}, {"id": "bf806694-bd5d-46e0-981e-391c17a4f48a", "name": "shared.large.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}], "description": null}, {"id": "c94f530f-75bd-497b-afb5-c6779226e668", "name": "autopkgtest-cpu4-ram16-disk100-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}], "description": null}, {"id": "e27351d8-e69b-4186-9377-748751eae215", "name": "shared.xlarge.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/e27351d8-e69b-4186-9377-748751eae215"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/e27351d8-e69b-4186-9377-748751eae215"}], "description": null}]} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None used request id req-d5f7c895-4eb0-4be8-afeb-ed561055cb57 141s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea HTTP/1.1" 200 702 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 702 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=996 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-5d9e34d1-2658-4e00-82b5-cf0fde72147b x-openstack-request-id: req-5d9e34d1-2658-4e00-82b5-cf0fde72147b 141s DEBUG (session:580) RESP BODY: {"flavor": {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "ram": 4096, "disk": 20, "swap": 0, "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null, "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea used request id req-5d9e34d1-2658-4e00-82b5-cf0fde72147b 141s DEBUG (session:517) REQ: curl -g -i -X POST https://nova.ps7.canonical.com:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" -d '{"server": {"name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "imageRef": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "flavorRef": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "networks": [{"uuid": "644a441b-9f4f-4e46-9024-6da986188438"}]}}' 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "POST /v2.1/servers HTTP/1.1" 202 477 141s DEBUG (session:548) RESP: [202] Connection: Keep-Alive Content-Length: 477 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:33 GMT Keep-Alive: timeout=75, max=995 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 location: https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 x-compute-request-id: req-16921ff4-8020-45ec-8336-723ca8e9fa08 x-openstack-request-id: req-16921ff4-8020-45ec-8336-723ca8e9fa08 141s DEBUG (session:580) RESP BODY: {"server": {"id": "bb40ed75-586a-45f0-9c45-e7c998a3a9f8", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "adminPass": "9cZTesykVCHx"}} 141s DEBUG (session:936) POST call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers used request id req-16921ff4-8020-45ec-8336-723ca8e9fa08 141s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 HTTP/1.1" 200 2710 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2710 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:34 GMT Keep-Alive: timeout=75, max=994 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-c0b04887-5a3e-4d61-bcb7-89d951aa3483 x-openstack-request-id: req-c0b04887-5a3e-4d61-bcb7-89d951aa3483 141s DEBUG (session:580) RESP BODY: {"server": {"id": "bb40ed75-586a-45f0-9c45-e7c998a3a9f8", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:15:34Z", "updated": "2026-01-29T13:15:34Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-qnc7y00p", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 used request id req-c0b04887-5a3e-4d61-bcb7-89d951aa3483 141s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:34 GMT Keep-Alive: timeout=75, max=999 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-2229fd75-7bbd-491d-b4ec-8df94d61aff3 141s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 141s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-2229fd75-7bbd-491d-b4ec-8df94d61aff3 141s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 141s | Property | Value | 141s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 141s | OS-DCF:diskConfig | MANUAL | 141s | OS-EXT-AZ:availability_zone | | 141s | OS-EXT-SRV-ATTR:host | - | 141s | OS-EXT-SRV-ATTR:hostname | adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro | 141s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 141s | OS-EXT-SRV-ATTR:instance_name | | 141s | OS-EXT-SRV-ATTR:kernel_id | | 141s | OS-EXT-SRV-ATTR:launch_index | 0 | 141s | OS-EXT-SRV-ATTR:ramdisk_id | | 141s | OS-EXT-SRV-ATTR:reservation_id | r-qnc7y00p | 141s | OS-EXT-SRV-ATTR:root_device_name | - | 141s | OS-EXT-STS:power_state | 0 | 141s | OS-EXT-STS:task_state | scheduling | 141s | OS-EXT-STS:vm_state | building | 141s | OS-SRV-USG:launched_at | - | 141s | OS-SRV-USG:terminated_at | - | 141s | accessIPv4 | | 141s | accessIPv6 | | 141s | adminPass | 9cZTesykVCHx | 141s | config_drive | | 141s | created | 2026-01-29T13:15:34Z | 141s | description | - | 141s | flavor:disk | 20 | 141s | flavor:ephemeral | 0 | 141s | flavor:extra_specs | {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"} | 141s | flavor:original_name | autopkgtest-cpu2-ram4-disk20-arm64 | 141s | flavor:ram | 4096 | 141s | flavor:swap | 0 | 141s | flavor:vcpus | 2 | 141s | hostId | | 141s | id | bb40ed75-586a-45f0-9c45-e7c998a3a9f8 | 141s | image | adt/ubuntu-resolute-arm64-server-20260128.img (10e9cd8e-6c32-4761-bbae-8581f2bd4c6f) | 141s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-20 | 141s | locked | False | 141s | locked_reason | - | 141s | metadata | {} | 141s | name | adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 | 141s | os-extended-volumes:volumes_attached | [] | 141s | progress | 0 | 141s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup | 141s | server_groups | [] | 141s | status | BUILD | 141s | tags | [] | 141s | tenant_id | e27006f5eb9946719a589a78f7f099f8 | 141s | trusted_image_certificates | - | 141s | updated | 2026-01-29T13:15:34Z | 141s | user_id | 5676cac36e4942629c54e24741ff7157 | 141s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 HTTP/1.1" 200 2710 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2710 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:34 GMT Keep-Alive: timeout=75, max=993 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-96876d5a-8e4a-4269-b068-a310e4e60bd7 x-openstack-request-id: req-96876d5a-8e4a-4269-b068-a310e4e60bd7 141s DEBUG (session:580) RESP BODY: {"server": {"id": "bb40ed75-586a-45f0-9c45-e7c998a3a9f8", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:15:34Z", "updated": "2026-01-29T13:15:34Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-qnc7y00p", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 used request id req-96876d5a-8e4a-4269-b068-a310e4e60bd7 141s 141s 141s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}805b9693bf145dc7ae9115fd8f4b07d67b5a386f557e7bbfad676f1685eee320" -H "X-OpenStack-Nova-API-Version: 2.87" 141s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 HTTP/1.1" 200 2837 141s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2837 Content-Type: application/json Date: Thu, 29 Jan 2026 13:15:39 GMT Keep-Alive: timeout=75, max=992 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-f520c05d-df0f-4589-8ca4-73075a9d7170 x-openstack-request-id: req-f520c05d-df0f-4589-8ca4-73075a9d7170 141s DEBUG (session:580) RESP BODY: {"server": {"id": "bb40ed75-586a-45f0-9c45-e7c998a3a9f8", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "ERROR", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:15:34Z", "updated": "2026-01-29T13:15:35Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8"}], "OS-DCF:diskConfig": "MANUAL", "fault": {"code": 500, "created": "2026-01-29T13:15:35Z", "message": "No valid host was found. There are not enough hosts available."}, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-00016fdf", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-qnc7y00p", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 141s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/bb40ed75-586a-45f0-9c45-e7c998a3a9f8 used request id req-f520c05d-df0f-4589-8ca4-73075a9d7170 141s DEBUG (shell:822) 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 141s OpenStackComputeShell().main(argv) 141s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 141s args.func(self.cs, args) 141s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 141s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 141s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 141s raise exceptions.ResourceInErrorState(obj) 141s novaclient.exceptions.ResourceInErrorState: 141s ERROR (ResourceInErrorState): 141s 141s Error building server 451s nova [E] nova boot failed (attempt #1): 451s nova [E] DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 451s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 451s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 451s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 451s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 451s DEBUG (session:517) REQ: curl -g -i -X GET https://keystone.ps7.canonical.com:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 451s DEBUG (connectionpool:939) Starting new HTTPS connection (1): keystone.ps7.canonical.com:5000 451s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "GET /v3 HTTP/1.1" 200 267 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 267 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:42 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-a6911d5a-51fd-46b3-99a7-ac16e1dbfacf 451s DEBUG (session:580) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://keystone.ps7.canonical.com:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} 451s DEBUG (session:946) GET call to https://keystone.ps7.canonical.com:5000/v3 used request id req-a6911d5a-51fd-46b3-99a7-ac16e1dbfacf 451s DEBUG (base:182) Making authentication request to https://keystone.ps7.canonical.com:5000/v3/auth/tokens 451s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12962 451s DEBUG (base:187) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "5676cac36e4942629c54e24741ff7157", "name": "prod-autopkgtest-workers-arm64", "password_expires_at": null}, "audit_ids": ["_Zw8QXx4QTGNL2eltr6IFA"], "expires_at": "2026-01-30T13:20:42.000000Z", "issued_at": "2026-01-29T13:20:42.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "e27006f5eb9946719a589a78f7f099f8", "name": "prod-autopkgtest-workers-arm64_project"}, "is_domain": false, "roles": [{"id": "a31fb543f37543d3b12c7fcb6e29636f", "name": "load-balancer_member"}, {"id": "9531825e299647e9b8713fcf36566f08", "name": "member"}, {"id": "c4de4cd4a6e842c48c193225243b4507", "name": "reader"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "09e03191c89d4421aebaa8dcff0e22e3", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "0b44af32db1b408da5b67a834350711b", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "325f3c044aa54591be49e39f7260483d", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "07902f28d63c4792bef57723f11a597e", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "296a5126b56949f8abc8663ba48d7c69", "interface": "admin", "region_id": "prodstack7", "url": "https://nova-admin.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "4ed46fd286814be9ad5f53c713db2b21", "interface": "public", "region_id": "prodstack7", "url": "https://nova.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "f920fb8274c74c72b50e57ac95f88f51", "interface": "internal", "region_id": "prodstack7", "url": "https://nova-internal.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}], "id": "0f4ee03d0c134dceb7ed6b2fa51eb189", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "074ea936d15d47e8ba1b8f1347fdaeec", "interface": "admin", "region_id": "prodstack7", "url": "https://neutron-admin.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "4d5667208af943eab425bb1952f67d2f", "interface": "public", "region_id": "prodstack7", "url": "https://neutron.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "ae71a7dd75fc495fa3dd207ac977346d", "interface": "internal", "region_id": "prodstack7", "url": "https://neutron-internal.ps7.canonical.com:9696", "region": "prodstack7"}], "id": "1fde991012bf4a91a97b5b02cd662e5d", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "5f3171f69df346c9a40ff13f8a9f3feb", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "951c2c04417d456eb29a4cbd2675f1bc", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "e4062e144ad243cbb53c8ce87aefee44", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8000/v1", "region": "prodstack7"}], "id": "2c59c0123c304ef3824d75e9779ac5a3", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "4a95fbf112804721b96a3578858faf45", "interface": "internal", "region_id": "prodstack7", "url": "https://octavia-internal.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "56bed7c3efd54a57bae11cc93844edc5", "interface": "public", "region_id": "prodstack7", "url": "https://octavia.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "e9c2ec6bc0e94e1e8ca6b15aa24b9294", "interface": "admin", "region_id": "prodstack7", "url": "https://octavia-admin.ps7.canonical.com:9876", "region": "prodstack7"}], "id": "4e42217a7f46428b87e7458a8a73942c", "type": "load-balancer", "name": "octavia"}, {"endpoints": [{"id": "29929a56ac7944d8867150f9d9a51ffe", "interface": "public", "region_id": "prodstack7", "url": "https://gnocchi.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "d1146fdec43e4c339f3c0766fda1923d", "interface": "internal", "region_id": "prodstack7", "url": "https://gnocchi-internal.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "ff5d256a28064e13b52758d6206687eb", "interface": "admin", "region_id": "prodstack7", "url": "https://gnocchi-admin.ps7.canonical.com:8041", "region": "prodstack7"}], "id": "50872dac84974216b104c7eef043dfe6", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "3901a2889b584fe5baf1325da2d5571c", "interface": "internal", "region_id": "prodstack7", "url": "https://aodh-internal.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "94f9e723537a4d0ab35ab53fe1af6f01", "interface": "public", "region_id": "prodstack7", "url": "https://aodh.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "f3fc8781a98149c680bd7f34c6893410", "interface": "admin", "region_id": "prodstack7", "url": "https://aodh-admin.ps7.canonical.com:8042", "region": "prodstack7"}], "id": "6f7af5495c2447c9bf258f72605a99b1", "type": "alarming", "name": "aodh"}, {"endpoints": [{"id": "0592d4bf15d54ba8aac00dfc34292295", "interface": "admin", "region_id": "prodstack7", "url": "https://keystone-admin.ps7.canonical.com:35357/v3", "region": "prodstack7"}, {"id": "1f5df236ded54026af4f5e947a599b2f", "interface": "internal", "region_id": "prodstack7", "url": "https://keystone-internal.ps7.canonical.com:5000/v3", "region": "prodstack7"}, {"id": "cd17fef7e3d246b3974b2ffe55b7889c", "interface": "public", "region_id": "prodstack7", "url": "https://keystone.ps7.canonical.com:5000/v3", "region": "prodstack7"}], "id": "7ad024307b634ea989f1e03d73d7737b", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "001dac935b6c44b1ad62c90175538578", "interface": "admin", "region_id": "prodstack7", "url": "https://cinder-admin.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "90abac2983a34488bb6ada4e5004bb99", "interface": "public", "region_id": "prodstack7", "url": "https://cinder.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "e49add7152684a8e9e1e3ea9502b5dc6", "interface": "internal", "region_id": "prodstack7", "url": "https://cinder-internal.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "7bea8b97c0304a62afd8325515928cc0", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "2450babeee5e4fe49947cbe7bcc0f3c3", "interface": "public", "region_id": "prodstack7", "url": "https://designate.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "c2e77ece29cd4dc7bf518bb51c619cce", "interface": "internal", "region_id": "prodstack7", "url": "https://designate-internal.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "fc292615aa2d43ff943da365870944ce", "interface": "admin", "region_id": "prodstack7", "url": "https://designate-admin.ps7.canonical.com:9001", "region": "prodstack7"}], "id": "8d13654c658644c4a375ce8428638f3d", "type": "dns", "name": "designate"}, {"endpoints": [{"id": "604f1f7088c54ec4a558d1747b0e7396", "interface": "public", "region_id": "prodstack7", "url": "https://barbican.ps7.canonical.com:9311", "region": "prodstack7"}, {"id": "81268c6bd3524a4d85af3d6faa426863", "interface": "admin", "region_id": "prodstack7", "url": "https://barbican-admin.ps7.canonical.com:9312", "region": "prodstack7"}, {"id": "becc73f676f34e66ab1daf0fbcb42366", "interface": "internal", "region_id": "prodstack7", "url": "https://barbican-internal.ps7.canonical.com:9311", "region": "prodstack7"}], "id": "8df4ed7c02d44fe28ec72b1e19e3f66f", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "38557e1243014f1abaa578a61bb0a387", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "b12d5a4329f94a1fa6dbd2cd38ebcd52", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "bc081c0d5d954446b7ee77886f5d68a3", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "8e7967c2620d49448787e035e8f21af0", "type": "share", "name": "manila"}, {"endpoints": [{"id": "03802d072c514ae484a2d26be0c906af", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "c07a315e261f430d94542a872596d654", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "d62fcd20c1e34d64930fbec97503a40a", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/", "region": "prodstack7"}], "id": "9569f1b0b4714254a3d116760dc3968d", "type": "s3", "name": "s3"}, {"endpoints": [{"id": "0e64627804e741e5948b4d35e1914624", "interface": "internal", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "12d47bbd1cc64dbf8d4e442b821c64f2", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift/simplestreams/data", "region": "prodstack7"}, {"id": "35aba6c3a1fc4041b30963e8b6c7b929", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}, {"id": "35bc5168fcc2414a9d89313cdef8bca9", "interface": "admin", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "5f7980b3f8e746e6bbd66c9cef81714e", "interface": "public", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "739ab5131dff4cdbb3151f6de36b36f6", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}], "id": "b28a039721b147af8e77d77242d4297f", "type": "product-streams", "name": "image-stream"}, {"endpoints": [{"id": "9321fba4588641dbb1c9f89508f1bf23", "interface": "internal", "region_id": "prodstack7", "url": "https://placement-internal.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "9a75eebf33e7409d9b69dc7e650f756c", "interface": "admin", "region_id": "prodstack7", "url": "https://placement-admin.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "c03942ddacb94fe39c1529aa74bd31c1", "interface": "public", "region_id": "prodstack7", "url": "https://placement.ps7.canonical.com:8778", "region": "prodstack7"}], "id": "bc5c019477934e89bab2a097e8df84b6", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "b8152f5e649d4603ac092897639d38c9", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift", "region": "prodstack7"}, {"id": "baa313d85b904c308b7a5c98505fc32c", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "c17c3db416224561b5e045562bbe76bf", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "c6dd2bcf96bf44c2a99e39d1302563f1", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "526da263451648898c9187c65f441a1c", "interface": "public", "region_id": "prodstack7", "url": "https://glance.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "61b55755ca9e4e2ab04a144f92cb6e97", "interface": "admin", "region_id": "prodstack7", "url": "https://glance-admin.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "9080969b2cde4926b647f63b9591233c", "interface": "internal", "region_id": "prodstack7", "url": "https://glance-internal.ps7.canonical.com:9292", "region": "prodstack7"}], "id": "dd3a22e287464998be0514a67dafb7e4", "type": "image", "name": "glance"}, {"endpoints": [{"id": "2f4dcba2a4ce46b2a2e3cf103fd929f4", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "789faa303fb54473b9449fa2f52866b3", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "fa7fa08da5e147df8dbc9528f3d7135b", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "f6880aea736446b8a4232e0cf3528a12", "type": "sharev2", "name": "manilav2"}]}} 451s REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" 451s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" 451s DEBUG (connectionpool:939) Starting new HTTPS connection (1): nova.ps7.canonical.com:8774 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1 HTTP/1.1" 302 0 451s RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-6bc894da-0d50-4869-829b-c3270137ca56 x-openstack-request-id: req-6bc894da-0d50-4869-829b-c3270137ca56 451s DEBUG (session:548) RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-6bc894da-0d50-4869-829b-c3270137ca56 x-openstack-request-id: req-6bc894da-0d50-4869-829b-c3270137ca56 451s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 451s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/ HTTP/1.1" 200 397 451s RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 x-openstack-request-id: req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 x-openstack-request-id: req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 451s RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 451s DEBUG (session:580) RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 451s GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-8b3c733b-0d4f-4303-bb25-bc94c51775e4 451s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 451s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 451s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 451s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 451s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 451s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 451s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:939) Starting new HTTPS connection (1): glance.ps7.canonical.com:9292 451s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-ae231543-3b59-45f5-b710-47a790da53ae 451s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 451s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-ae231543-3b59-45f5-b710-47a790da53ae 451s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 HTTP/1.1" 404 107 451s DEBUG (session:548) RESP: [404] Connection: Keep-Alive Content-Length: 107 Content-Type: application/json; charset=UTF-8 Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=998 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-05f6f580-6d38-4f4d-b197-d20eb9c52fb2 x-openstack-request-id: req-05f6f580-6d38-4f4d-b197-d20eb9c52fb2 451s DEBUG (session:580) RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor autopkgtest-cpu2-ram4-disk20-arm64 could not be found."}} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 used request id req-05f6f580-6d38-4f4d-b197-d20eb9c52fb2 451s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 2409 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2409 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=997 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-d3c29eb6-9dbe-4bf9-882e-09e2f57860bf x-openstack-request-id: req-d3c29eb6-9dbe-4bf9-882e-09e2f57860bf 451s DEBUG (session:580) RESP BODY: {"flavors": [{"id": "0571a7bf-8e9f-4061-bcc6-303958386001", "name": "shared.medium.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}], "description": null}, {"id": "2a7bd40a-96c0-4700-abda-65a771e3e22c", "name": "shared.small.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}], "description": null}, {"id": "9b6f3976-e59d-4977-aaf4-5260d6d8e256", "name": "shared.xsmall.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}], "description": null}, {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null}, {"id": "bf806694-bd5d-46e0-981e-391c17a4f48a", "name": "shared.large.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}], "description": null}, {"id": "c94f530f-75bd-497b-afb5-c6779226e668", "name": "autopkgtest-cpu4-ram16-disk100-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}], "description": null}, {"id": "e27351d8-e69b-4186-9377-748751eae215", "name": "shared.xlarge.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/e27351d8-e69b-4186-9377-748751eae215"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/e27351d8-e69b-4186-9377-748751eae215"}], "description": null}]} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None used request id req-d3c29eb6-9dbe-4bf9-882e-09e2f57860bf 451s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea HTTP/1.1" 200 702 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 702 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=996 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-2cbab174-b228-4f90-a103-50f4ccceb081 x-openstack-request-id: req-2cbab174-b228-4f90-a103-50f4ccceb081 451s DEBUG (session:580) RESP BODY: {"flavor": {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "ram": 4096, "disk": 20, "swap": 0, "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null, "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea used request id req-2cbab174-b228-4f90-a103-50f4ccceb081 451s DEBUG (session:517) REQ: curl -g -i -X POST https://nova.ps7.canonical.com:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" -d '{"server": {"name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "imageRef": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "flavorRef": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "networks": [{"uuid": "644a441b-9f4f-4e46-9024-6da986188438"}]}}' 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "POST /v2.1/servers HTTP/1.1" 202 477 451s DEBUG (session:548) RESP: [202] Connection: Keep-Alive Content-Length: 477 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:43 GMT Keep-Alive: timeout=75, max=995 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 location: https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 x-compute-request-id: req-5679d51c-e4f2-453b-b80f-f33d8208407c x-openstack-request-id: req-5679d51c-e4f2-453b-b80f-f33d8208407c 451s DEBUG (session:580) RESP BODY: {"server": {"id": "d4476f72-5419-4381-839b-c24d1fa5f1a7", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "adminPass": "iyiEbVpHVS2P"}} 451s DEBUG (session:936) POST call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers used request id req-5679d51c-e4f2-453b-b80f-f33d8208407c 451s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 HTTP/1.1" 200 2710 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2710 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:44 GMT Keep-Alive: timeout=75, max=994 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-505409b1-30e3-48f4-8139-e1bcbcc2039d x-openstack-request-id: req-505409b1-30e3-48f4-8139-e1bcbcc2039d 451s DEBUG (session:580) RESP BODY: {"server": {"id": "d4476f72-5419-4381-839b-c24d1fa5f1a7", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:20:44Z", "updated": "2026-01-29T13:20:44Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-2prolnvk", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 used request id req-505409b1-30e3-48f4-8139-e1bcbcc2039d 451s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:44 GMT Keep-Alive: timeout=75, max=999 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-ee65d2d2-66a6-4287-b9c3-4f00a20f4b80 451s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 451s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-ee65d2d2-66a6-4287-b9c3-4f00a20f4b80 451s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 451s | Property | Value | 451s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 451s | OS-DCF:diskConfig | MANUAL | 451s | OS-EXT-AZ:availability_zone | | 451s | OS-EXT-SRV-ATTR:host | - | 451s | OS-EXT-SRV-ATTR:hostname | adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro | 451s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 451s | OS-EXT-SRV-ATTR:instance_name | | 451s | OS-EXT-SRV-ATTR:kernel_id | | 451s | OS-EXT-SRV-ATTR:launch_index | 0 | 451s | OS-EXT-SRV-ATTR:ramdisk_id | | 451s | OS-EXT-SRV-ATTR:reservation_id | r-2prolnvk | 451s | OS-EXT-SRV-ATTR:root_device_name | - | 451s | OS-EXT-STS:power_state | 0 | 451s | OS-EXT-STS:task_state | scheduling | 451s | OS-EXT-STS:vm_state | building | 451s | OS-SRV-USG:launched_at | - | 451s | OS-SRV-USG:terminated_at | - | 451s | accessIPv4 | | 451s | accessIPv6 | | 451s | adminPass | iyiEbVpHVS2P | 451s | config_drive | | 451s | created | 2026-01-29T13:20:44Z | 451s | description | - | 451s | flavor:disk | 20 | 451s | flavor:ephemeral | 0 | 451s | flavor:extra_specs | {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"} | 451s | flavor:original_name | autopkgtest-cpu2-ram4-disk20-arm64 | 451s | flavor:ram | 4096 | 451s | flavor:swap | 0 | 451s | flavor:vcpus | 2 | 451s | hostId | | 451s | id | d4476f72-5419-4381-839b-c24d1fa5f1a7 | 451s | image | adt/ubuntu-resolute-arm64-server-20260128.img (10e9cd8e-6c32-4761-bbae-8581f2bd4c6f) | 451s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-20 | 451s | locked | False | 451s | locked_reason | - | 451s | metadata | {} | 451s | name | adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 | 451s | os-extended-volumes:volumes_attached | [] | 451s | progress | 0 | 451s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup | 451s | server_groups | [] | 451s | status | BUILD | 451s | tags | [] | 451s | tenant_id | e27006f5eb9946719a589a78f7f099f8 | 451s | trusted_image_certificates | - | 451s | updated | 2026-01-29T13:20:44Z | 451s | user_id | 5676cac36e4942629c54e24741ff7157 | 451s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 HTTP/1.1" 200 2710 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2710 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:44 GMT Keep-Alive: timeout=75, max=993 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-69226f6a-5aa7-4187-9322-59a9da78bfd0 x-openstack-request-id: req-69226f6a-5aa7-4187-9322-59a9da78bfd0 451s DEBUG (session:580) RESP BODY: {"server": {"id": "d4476f72-5419-4381-839b-c24d1fa5f1a7", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:20:44Z", "updated": "2026-01-29T13:20:44Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-2prolnvk", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 used request id req-69226f6a-5aa7-4187-9322-59a9da78bfd0 451s 451s 451s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c0fa2de0fa5f0ee5a67553261a902d556e111e5f5fc95402fa609697035165e7" -H "X-OpenStack-Nova-API-Version: 2.87" 451s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 HTTP/1.1" 200 2837 451s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2837 Content-Type: application/json Date: Thu, 29 Jan 2026 13:20:49 GMT Keep-Alive: timeout=75, max=992 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-fff2d82f-9122-488e-abb8-6cfafa133d4a x-openstack-request-id: req-fff2d82f-9122-488e-abb8-6cfafa133d4a 451s DEBUG (session:580) RESP BODY: {"server": {"id": "d4476f72-5419-4381-839b-c24d1fa5f1a7", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "ERROR", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:20:44Z", "updated": "2026-01-29T13:20:44Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7"}], "OS-DCF:diskConfig": "MANUAL", "fault": {"code": 500, "created": "2026-01-29T13:20:44Z", "message": "No valid host was found. There are not enough hosts available."}, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-00017052", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-2prolnvk", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 451s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/d4476f72-5419-4381-839b-c24d1fa5f1a7 used request id req-fff2d82f-9122-488e-abb8-6cfafa133d4a 451s DEBUG (shell:822) 451s Traceback (most recent call last): 451s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 451s OpenStackComputeShell().main(argv) 451s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 451s args.func(self.cs, args) 451s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 451s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 451s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 451s raise exceptions.ResourceInErrorState(obj) 451s novaclient.exceptions.ResourceInErrorState: 451s ERROR (ResourceInErrorState): 451s 451s Error building server 812s autopkgtest [13:26:50]: testbed dpkg architecture: arm64 812s autopkgtest [13:26:50]: testbed apt version: 3.1.14 813s autopkgtest [13:26:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 813s autopkgtest [13:26:51]: testbed release detected to be: resolute 814s autopkgtest [13:26:52]: updating testbed package index (apt update) 814s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 814s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 814s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 814s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 814s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 814s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 814s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 814s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 814s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 814s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 814s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 814s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 814s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 814s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 814s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 814s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 817s Fetched 2280 kB in 1s (3785 kB/s) 818s Reading package lists... 818s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 818s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 819s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 819s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 819s Reading package lists... 819s Reading package lists... 820s Building dependency tree... 820s Reading state information... 820s Calculating upgrade... 820s The following packages will be upgraded: 820s liburcu8t64 libxcb1 tzdata 820s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 820s Need to get 313 kB of archives. 820s After this operation, 65.5 kB disk space will be freed. 820s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 820s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 820s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 821s dpkg-preconfigure: unable to re-open stdin: No such file or directory 821s Fetched 313 kB in 0s (14.5 MB/s) 821s (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 ... 135255 files and directories currently installed.) 821s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 821s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 821s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 821s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 821s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 821s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 821s Setting up liburcu8t64:arm64 (0.15.6-1) ... 821s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 821s Setting up tzdata (2025c-3ubuntu3) ... 821s 821s Current default time zone: 'Etc/UTC' 821s Local time is now: Thu Jan 29 13:27:00 UTC 2026. 821s Universal Time is now: Thu Jan 29 13:27:00 UTC 2026. 821s Run 'dpkg-reconfigure tzdata' if you wish to change it. 821s 821s Processing triggers for libc-bin (2.42-2ubuntu4) ... 822s autopkgtest [13:27:00]: upgrading testbed (apt dist-upgrade and autopurge) 822s Reading package lists... 822s Building dependency tree... 822s Reading state information... 822s Calculating upgrade... 823s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 823s Reading package lists... 823s Building dependency tree... 823s Reading state information... 823s Solving dependencies... 824s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 826s Reading package lists... 827s Building dependency tree... 827s Reading state information... 827s Solving dependencies... 827s The following NEW packages will be installed: 827s gir1.2-glib-2.0-dev girepository-tools native-architecture 827s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 827s Need to get 972 kB of archives. 827s After this operation, 12.4 MB of additional disk space will be used. 827s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 827s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 827s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 828s Fetched 972 kB in 0s (3688 kB/s) 828s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 828s (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 ... 135255 files and directories currently installed.) 828s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 828s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 828s Selecting previously unselected package native-architecture. 828s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 828s Unpacking native-architecture (0.2.6build1) ... 828s Selecting previously unselected package girepository-tools:arm64. 828s Preparing to unpack .../girepository-tools_2.86.3-4_arm64.deb ... 828s Unpacking girepository-tools:arm64 (2.86.3-4) ... 828s Setting up native-architecture (0.2.6build1) ... 828s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 828s Setting up girepository-tools:arm64 (2.86.3-4) ... 828s Processing triggers for man-db (2.13.1-1) ... 831s autopkgtest [13:27:09]: test girepository-tools: [----------------------- 831s + cd /tmp/autopkgtest.WXQj7X/autopkgtest_tmp 831s + dpkg-architecture -qDEB_HOST_GNU_TYPE 832s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 832s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 832s + dpkg-architecture -qDEB_HOST_MULTIARCH 832s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 832s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 832s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 832s typelib: GLib-2.0 832s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 832s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 832s autopkgtest [13:27:10]: test girepository-tools: -----------------------] 832s girepository-tools PASS (superficial) 832s autopkgtest [13:27:10]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 833s autopkgtest [13:27:11]: test libgio-2.0-dev-bin: preparing testbed 852s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 862s nova [E] nova boot failed (attempt #0): 862s nova [E] DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 862s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 862s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 862s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 862s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 862s DEBUG (session:517) REQ: curl -g -i -X GET https://keystone.ps7.canonical.com:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 862s DEBUG (connectionpool:939) Starting new HTTPS connection (1): keystone.ps7.canonical.com:5000 862s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "GET /v3 HTTP/1.1" 200 267 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 267 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:33 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-f4effa9d-7ea5-4be0-8fa4-c7481f7950e7 862s DEBUG (session:580) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://keystone.ps7.canonical.com:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} 862s DEBUG (session:946) GET call to https://keystone.ps7.canonical.com:5000/v3 used request id req-f4effa9d-7ea5-4be0-8fa4-c7481f7950e7 862s DEBUG (base:182) Making authentication request to https://keystone.ps7.canonical.com:5000/v3/auth/tokens 862s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12962 862s DEBUG (base:187) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "5676cac36e4942629c54e24741ff7157", "name": "prod-autopkgtest-workers-arm64", "password_expires_at": null}, "audit_ids": ["EVopi2J4TN-ExYADbTNouQ"], "expires_at": "2026-01-30T13:27:33.000000Z", "issued_at": "2026-01-29T13:27:33.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "e27006f5eb9946719a589a78f7f099f8", "name": "prod-autopkgtest-workers-arm64_project"}, "is_domain": false, "roles": [{"id": "a31fb543f37543d3b12c7fcb6e29636f", "name": "load-balancer_member"}, {"id": "c4de4cd4a6e842c48c193225243b4507", "name": "reader"}, {"id": "9531825e299647e9b8713fcf36566f08", "name": "member"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "09e03191c89d4421aebaa8dcff0e22e3", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "0b44af32db1b408da5b67a834350711b", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "325f3c044aa54591be49e39f7260483d", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8004/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "07902f28d63c4792bef57723f11a597e", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "296a5126b56949f8abc8663ba48d7c69", "interface": "admin", "region_id": "prodstack7", "url": "https://nova-admin.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "4ed46fd286814be9ad5f53c713db2b21", "interface": "public", "region_id": "prodstack7", "url": "https://nova.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "f920fb8274c74c72b50e57ac95f88f51", "interface": "internal", "region_id": "prodstack7", "url": "https://nova-internal.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}], "id": "0f4ee03d0c134dceb7ed6b2fa51eb189", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "074ea936d15d47e8ba1b8f1347fdaeec", "interface": "admin", "region_id": "prodstack7", "url": "https://neutron-admin.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "4d5667208af943eab425bb1952f67d2f", "interface": "public", "region_id": "prodstack7", "url": "https://neutron.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "ae71a7dd75fc495fa3dd207ac977346d", "interface": "internal", "region_id": "prodstack7", "url": "https://neutron-internal.ps7.canonical.com:9696", "region": "prodstack7"}], "id": "1fde991012bf4a91a97b5b02cd662e5d", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "5f3171f69df346c9a40ff13f8a9f3feb", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "951c2c04417d456eb29a4cbd2675f1bc", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "e4062e144ad243cbb53c8ce87aefee44", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8000/v1", "region": "prodstack7"}], "id": "2c59c0123c304ef3824d75e9779ac5a3", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "4a95fbf112804721b96a3578858faf45", "interface": "internal", "region_id": "prodstack7", "url": "https://octavia-internal.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "56bed7c3efd54a57bae11cc93844edc5", "interface": "public", "region_id": "prodstack7", "url": "https://octavia.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "e9c2ec6bc0e94e1e8ca6b15aa24b9294", "interface": "admin", "region_id": "prodstack7", "url": "https://octavia-admin.ps7.canonical.com:9876", "region": "prodstack7"}], "id": "4e42217a7f46428b87e7458a8a73942c", "type": "load-balancer", "name": "octavia"}, {"endpoints": [{"id": "29929a56ac7944d8867150f9d9a51ffe", "interface": "public", "region_id": "prodstack7", "url": "https://gnocchi.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "d1146fdec43e4c339f3c0766fda1923d", "interface": "internal", "region_id": "prodstack7", "url": "https://gnocchi-internal.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "ff5d256a28064e13b52758d6206687eb", "interface": "admin", "region_id": "prodstack7", "url": "https://gnocchi-admin.ps7.canonical.com:8041", "region": "prodstack7"}], "id": "50872dac84974216b104c7eef043dfe6", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "3901a2889b584fe5baf1325da2d5571c", "interface": "internal", "region_id": "prodstack7", "url": "https://aodh-internal.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "94f9e723537a4d0ab35ab53fe1af6f01", "interface": "public", "region_id": "prodstack7", "url": "https://aodh.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "f3fc8781a98149c680bd7f34c6893410", "interface": "admin", "region_id": "prodstack7", "url": "https://aodh-admin.ps7.canonical.com:8042", "region": "prodstack7"}], "id": "6f7af5495c2447c9bf258f72605a99b1", "type": "alarming", "name": "aodh"}, {"endpoints": [{"id": "0592d4bf15d54ba8aac00dfc34292295", "interface": "admin", "region_id": "prodstack7", "url": "https://keystone-admin.ps7.canonical.com:35357/v3", "region": "prodstack7"}, {"id": "1f5df236ded54026af4f5e947a599b2f", "interface": "internal", "region_id": "prodstack7", "url": "https://keystone-internal.ps7.canonical.com:5000/v3", "region": "prodstack7"}, {"id": "cd17fef7e3d246b3974b2ffe55b7889c", "interface": "public", "region_id": "prodstack7", "url": "https://keystone.ps7.canonical.com:5000/v3", "region": "prodstack7"}], "id": "7ad024307b634ea989f1e03d73d7737b", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "001dac935b6c44b1ad62c90175538578", "interface": "admin", "region_id": "prodstack7", "url": "https://cinder-admin.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "90abac2983a34488bb6ada4e5004bb99", "interface": "public", "region_id": "prodstack7", "url": "https://cinder.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "e49add7152684a8e9e1e3ea9502b5dc6", "interface": "internal", "region_id": "prodstack7", "url": "https://cinder-internal.ps7.canonical.com:8776/v3/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "7bea8b97c0304a62afd8325515928cc0", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "2450babeee5e4fe49947cbe7bcc0f3c3", "interface": "public", "region_id": "prodstack7", "url": "https://designate.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "c2e77ece29cd4dc7bf518bb51c619cce", "interface": "internal", "region_id": "prodstack7", "url": "https://designate-internal.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "fc292615aa2d43ff943da365870944ce", "interface": "admin", "region_id": "prodstack7", "url": "https://designate-admin.ps7.canonical.com:9001", "region": "prodstack7"}], "id": "8d13654c658644c4a375ce8428638f3d", "type": "dns", "name": "designate"}, {"endpoints": [{"id": "604f1f7088c54ec4a558d1747b0e7396", "interface": "public", "region_id": "prodstack7", "url": "https://barbican.ps7.canonical.com:9311", "region": "prodstack7"}, {"id": "81268c6bd3524a4d85af3d6faa426863", "interface": "admin", "region_id": "prodstack7", "url": "https://barbican-admin.ps7.canonical.com:9312", "region": "prodstack7"}, {"id": "becc73f676f34e66ab1daf0fbcb42366", "interface": "internal", "region_id": "prodstack7", "url": "https://barbican-internal.ps7.canonical.com:9311", "region": "prodstack7"}], "id": "8df4ed7c02d44fe28ec72b1e19e3f66f", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "38557e1243014f1abaa578a61bb0a387", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "b12d5a4329f94a1fa6dbd2cd38ebcd52", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "bc081c0d5d954446b7ee77886f5d68a3", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v1/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "8e7967c2620d49448787e035e8f21af0", "type": "share", "name": "manila"}, {"endpoints": [{"id": "03802d072c514ae484a2d26be0c906af", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "c07a315e261f430d94542a872596d654", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "d62fcd20c1e34d64930fbec97503a40a", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/", "region": "prodstack7"}], "id": "9569f1b0b4714254a3d116760dc3968d", "type": "s3", "name": "s3"}, {"endpoints": [{"id": "0e64627804e741e5948b4d35e1914624", "interface": "internal", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "12d47bbd1cc64dbf8d4e442b821c64f2", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift/simplestreams/data", "region": "prodstack7"}, {"id": "35aba6c3a1fc4041b30963e8b6c7b929", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}, {"id": "35bc5168fcc2414a9d89313cdef8bca9", "interface": "admin", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "5f7980b3f8e746e6bbd66c9cef81714e", "interface": "public", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "739ab5131dff4cdbb3151f6de36b36f6", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}], "id": "b28a039721b147af8e77d77242d4297f", "type": "product-streams", "name": "image-stream"}, {"endpoints": [{"id": "9321fba4588641dbb1c9f89508f1bf23", "interface": "internal", "region_id": "prodstack7", "url": "https://placement-internal.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "9a75eebf33e7409d9b69dc7e650f756c", "interface": "admin", "region_id": "prodstack7", "url": "https://placement-admin.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "c03942ddacb94fe39c1529aa74bd31c1", "interface": "public", "region_id": "prodstack7", "url": "https://placement.ps7.canonical.com:8778", "region": "prodstack7"}], "id": "bc5c019477934e89bab2a097e8df84b6", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "b8152f5e649d4603ac092897639d38c9", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift", "region": "prodstack7"}, {"id": "baa313d85b904c308b7a5c98505fc32c", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "c17c3db416224561b5e045562bbe76bf", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "c6dd2bcf96bf44c2a99e39d1302563f1", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "526da263451648898c9187c65f441a1c", "interface": "public", "region_id": "prodstack7", "url": "https://glance.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "61b55755ca9e4e2ab04a144f92cb6e97", "interface": "admin", "region_id": "prodstack7", "url": "https://glance-admin.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "9080969b2cde4926b647f63b9591233c", "interface": "internal", "region_id": "prodstack7", "url": "https://glance-internal.ps7.canonical.com:9292", "region": "prodstack7"}], "id": "dd3a22e287464998be0514a67dafb7e4", "type": "image", "name": "glance"}, {"endpoints": [{"id": "2f4dcba2a4ce46b2a2e3cf103fd929f4", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "789faa303fb54473b9449fa2f52866b3", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}, {"id": "fa7fa08da5e147df8dbc9528f3d7135b", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v2/e27006f5eb9946719a589a78f7f099f8", "region": "prodstack7"}], "id": "f6880aea736446b8a4232e0cf3528a12", "type": "sharev2", "name": "manilav2"}]}} 862s REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" 862s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" 862s DEBUG (connectionpool:939) Starting new HTTPS connection (1): nova.ps7.canonical.com:8774 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1 HTTP/1.1" 302 0 862s RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:27:33 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-3c6c2d85-8f1e-4bf3-8f80-73008c4dc3a1 x-openstack-request-id: req-3c6c2d85-8f1e-4bf3-8f80-73008c4dc3a1 862s DEBUG (session:548) RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 29 Jan 2026 13:27:33 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-3c6c2d85-8f1e-4bf3-8f80-73008c4dc3a1 x-openstack-request-id: req-3c6c2d85-8f1e-4bf3-8f80-73008c4dc3a1 862s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 862s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/ HTTP/1.1" 200 397 862s RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:33 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 x-openstack-request-id: req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:33 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 x-openstack-request-id: req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 862s RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 862s DEBUG (session:580) RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 862s GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-2fc17030-afe6-4d7a-a8fc-0f8d2896a7b6 862s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 862s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 862s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 862s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 862s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 862s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 862s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:939) Starting new HTTPS connection (1): glance.ps7.canonical.com:9292 862s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-b2e5d1c9-f658-4eff-95c1-2f4c0907ba7b 862s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 862s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-b2e5d1c9-f658-4eff-95c1-2f4c0907ba7b 862s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 HTTP/1.1" 404 107 862s DEBUG (session:548) RESP: [404] Connection: Keep-Alive Content-Length: 107 Content-Type: application/json; charset=UTF-8 Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=998 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-c8639667-ab49-44c1-b506-da7fec6b41d4 x-openstack-request-id: req-c8639667-ab49-44c1-b506-da7fec6b41d4 862s DEBUG (session:580) RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor autopkgtest-cpu2-ram4-disk20-arm64 could not be found."}} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-arm64 used request id req-c8639667-ab49-44c1-b506-da7fec6b41d4 862s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 2409 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2409 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=997 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-60d49056-756f-4074-910e-c51396b5d2b2 x-openstack-request-id: req-60d49056-756f-4074-910e-c51396b5d2b2 862s DEBUG (session:580) RESP BODY: {"flavors": [{"id": "0571a7bf-8e9f-4061-bcc6-303958386001", "name": "shared.medium.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/0571a7bf-8e9f-4061-bcc6-303958386001"}], "description": null}, {"id": "2a7bd40a-96c0-4700-abda-65a771e3e22c", "name": "shared.small.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/2a7bd40a-96c0-4700-abda-65a771e3e22c"}], "description": null}, {"id": "9b6f3976-e59d-4977-aaf4-5260d6d8e256", "name": "shared.xsmall.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/9b6f3976-e59d-4977-aaf4-5260d6d8e256"}], "description": null}, {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null}, {"id": "bf806694-bd5d-46e0-981e-391c17a4f48a", "name": "shared.large.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/bf806694-bd5d-46e0-981e-391c17a4f48a"}], "description": null}, {"id": "c94f530f-75bd-497b-afb5-c6779226e668", "name": "autopkgtest-cpu4-ram16-disk100-arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/c94f530f-75bd-497b-afb5-c6779226e668"}], "description": null}, {"id": "e27351d8-e69b-4186-9377-748751eae215", "name": "shared.xlarge.arm64", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/e27351d8-e69b-4186-9377-748751eae215"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/e27351d8-e69b-4186-9377-748751eae215"}], "description": null}]} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None used request id req-60d49056-756f-4074-910e-c51396b5d2b2 862s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea HTTP/1.1" 200 702 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 702 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=996 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-d96c6c35-e53b-4595-8673-74fca33a3ac5 x-openstack-request-id: req-d96c6c35-e53b-4595-8673-74fca33a3ac5 862s DEBUG (session:580) RESP BODY: {"flavor": {"id": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "name": "autopkgtest-cpu2-ram4-disk20-arm64", "ram": 4096, "disk": 20, "swap": 0, "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea"}], "description": null, "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/a3ffbfd7-6177-4963-816c-c5bd8f6f4dea used request id req-d96c6c35-e53b-4595-8673-74fca33a3ac5 862s DEBUG (session:517) REQ: curl -g -i -X POST https://nova.ps7.canonical.com:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" -d '{"server": {"name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "imageRef": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "flavorRef": "a3ffbfd7-6177-4963-816c-c5bd8f6f4dea", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "networks": [{"uuid": "644a441b-9f4f-4e46-9024-6da986188438"}]}}' 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "POST /v2.1/servers HTTP/1.1" 202 477 862s DEBUG (session:548) RESP: [202] Connection: Keep-Alive Content-Length: 477 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=995 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 location: https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 x-compute-request-id: req-9c9137d1-dd39-4b51-acef-bdd6f6f74afc x-openstack-request-id: req-9c9137d1-dd39-4b51-acef-bdd6f6f74afc 862s DEBUG (session:580) RESP BODY: {"server": {"id": "72ab5494-6dca-4d4e-bbd9-a42c8cf284f1", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup"}], "adminPass": "9umzdNB9ZeNs"}} 862s DEBUG (session:936) POST call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers used request id req-9c9137d1-dd39-4b51-acef-bdd6f6f74afc 862s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 HTTP/1.1" 200 2710 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2710 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=994 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-54c4405f-3a45-4fef-bcc9-2905d966b999 x-openstack-request-id: req-54c4405f-3a45-4fef-bcc9-2905d966b999 862s DEBUG (session:580) RESP BODY: {"server": {"id": "72ab5494-6dca-4d4e-bbd9-a42c8cf284f1", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:27:35Z", "updated": "2026-01-29T13:27:34Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-ubo0twkq", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 used request id req-54c4405f-3a45-4fef-bcc9-2905d966b999 862s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f HTTP/1.1" 200 2259 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2259 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:34 GMT Keep-Alive: timeout=75, max=999 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-a9bddd1e-120b-4798-9f85-3e0cba67d1b7 862s DEBUG (session:580) RESP BODY: {"architecture": "aarch64", "base_image_ref": "c19f9e13-cfe1-407b-be9d-9b173ca54879", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "virt", "hw_video_model": "virtio", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "f88bfa2b-0c34-4395-b522-07e0fc4aee78", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "e27006f5eb9946719a589a78f7f099f8", "owner_project_name": "prod-autopkgtest-workers-arm64_project", "owner_user_name": "prod-autopkgtest-workers-arm64", "product_name": "com.ubuntu.cloud.daily:server:26.04:arm64", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"arm64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-arm64-server-20260109\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"26.04", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "5676cac36e4942629c54e24741ff7157", "version_name": "20260109", "name": "adt/ubuntu-resolute-arm64-server-20260128.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 4198825984, "virtual_size": 21474836480, "status": "active", "checksum": "f5daf3dc2fdfa2d4a12bcafe21621780", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "e27006f5eb9946719a589a78f7f099f8", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "e125c21730cb44b86a401d5702d1d6fbbe743a0d516284e21eb577a95bd1a889", "id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "created_at": "2026-01-28T00:12:36Z", "updated_at": "2026-01-28T00:14:06Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/snap", "tags": [], "self": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "file": "/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f/file", "schema": "/v2/schemas/image", "stores": "ceph"} 862s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f used request id req-a9bddd1e-120b-4798-9f85-3e0cba67d1b7 862s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 862s | Property | Value | 862s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ 862s | OS-DCF:diskConfig | MANUAL | 862s | OS-EXT-AZ:availability_zone | | 862s | OS-EXT-SRV-ATTR:host | - | 862s | OS-EXT-SRV-ATTR:hostname | adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro | 862s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 862s | OS-EXT-SRV-ATTR:instance_name | | 862s | OS-EXT-SRV-ATTR:kernel_id | | 862s | OS-EXT-SRV-ATTR:launch_index | 0 | 862s | OS-EXT-SRV-ATTR:ramdisk_id | | 862s | OS-EXT-SRV-ATTR:reservation_id | r-ubo0twkq | 862s | OS-EXT-SRV-ATTR:root_device_name | - | 862s | OS-EXT-STS:power_state | 0 | 862s | OS-EXT-STS:task_state | scheduling | 862s | OS-EXT-STS:vm_state | building | 862s | OS-SRV-USG:launched_at | - | 862s | OS-SRV-USG:terminated_at | - | 862s | accessIPv4 | | 862s | accessIPv6 | | 862s | adminPass | 9umzdNB9ZeNs | 862s | config_drive | | 862s | created | 2026-01-29T13:27:35Z | 862s | description | - | 862s | flavor:disk | 20 | 862s | flavor:ephemeral | 0 | 862s | flavor:extra_specs | {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"} | 862s | flavor:original_name | autopkgtest-cpu2-ram4-disk20-arm64 | 862s | flavor:ram | 4096 | 862s | flavor:swap | 0 | 862s | flavor:vcpus | 2 | 862s | hostId | | 862s | id | 72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 | 862s | image | adt/ubuntu-resolute-arm64-server-20260128.img (10e9cd8e-6c32-4761-bbae-8581f2bd4c6f) | 862s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-20 | 862s | locked | False | 862s | locked_reason | - | 862s | metadata | {} | 862s | name | adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 | 862s | os-extended-volumes:volumes_attached | [] | 862s | progress | 0 | 862s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-20.secgroup | 862s | server_groups | [] | 862s | status | BUILD | 862s | tags | [] | 862s | tenant_id | e27006f5eb9946719a589a78f7f099f8 | 862s | trusted_image_certificates | - | 862s | updated | 2026-01-29T13:27:34Z | 862s | user_id | 5676cac36e4942629c54e24741ff7157 | 862s +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 HTTP/1.1" 200 2727 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2727 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:35 GMT Keep-Alive: timeout=75, max=993 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-e90da4fa-9cfe-4906-b318-6818bf9c79af x-openstack-request-id: req-e90da4fa-9cfe-4906-b318-6818bf9c79af 862s DEBUG (session:580) RESP BODY: {"server": {"id": "72ab5494-6dca-4d4e-bbd9-a42c8cf284f1", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "BUILD", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:27:34Z", "updated": "2026-01-29T13:27:35Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-000170d8", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-ubo0twkq", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 used request id req-e90da4fa-9cfe-4906-b318-6818bf9c79af 862s 862s 862s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}073a8ada465b26d135b384a243557295bdc70e00f377a375c48392d344b5a365" -H "X-OpenStack-Nova-API-Version: 2.87" 862s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 HTTP/1.1" 200 2837 862s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2837 Content-Type: application/json Date: Thu, 29 Jan 2026 13:27:40 GMT Keep-Alive: timeout=75, max=992 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-991a8b6c-0dc4-4b03-b512-032869030e66 x-openstack-request-id: req-991a8b6c-0dc4-4b03-b512-032869030e66 862s DEBUG (session:580) RESP BODY: {"server": {"id": "72ab5494-6dca-4d4e-bbd9-a42c8cf284f1", "name": "adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99", "status": "ERROR", "tenant_id": "e27006f5eb9946719a589a78f7f099f8", "user_id": "5676cac36e4942629c54e24741ff7157", "metadata": {}, "hostId": "", "image": {"id": "10e9cd8e-6c32-4761-bbae-8581f2bd4c6f", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/10e9cd8e-6c32-4761-bbae-8581f2bd4c6f"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-arm64", "extra_specs": {"aggregate_instance_extra_specs:commit": "arm64", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-01-29T13:27:34Z", "updated": "2026-01-29T13:27:35Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1"}], "OS-DCF:diskConfig": "MANUAL", "fault": {"code": 500, "created": "2026-01-29T13:27:35Z", "message": "No valid host was found. There are not enough hosts available."}, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-20", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-000170d8", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-ubo0twkq", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-arm64-glib2-0-20260129-122419-juju-7f2275-prod-pro", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 862s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/72ab5494-6dca-4d4e-bbd9-a42c8cf284f1 used request id req-991a8b6c-0dc4-4b03-b512-032869030e66 862s DEBUG (shell:822) 862s Traceback (most recent call last): 862s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 862s OpenStackComputeShell().main(argv) 862s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 862s args.func(self.cs, args) 862s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 862s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 862s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 862s raise exceptions.ResourceInErrorState(obj) 862s novaclient.exceptions.ResourceInErrorState: 862s ERROR (ResourceInErrorState): 862s 862s Error building server 1243s autopkgtest [13:34:01]: testbed dpkg architecture: arm64 1243s autopkgtest [13:34:01]: testbed apt version: 3.1.14 1244s autopkgtest [13:34:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1244s autopkgtest [13:34:02]: testbed release detected to be: resolute 1245s autopkgtest [13:34:03]: updating testbed package index (apt update) 1245s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1245s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1246s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1246s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1246s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 1246s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1246s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 1246s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 1246s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 1246s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 1246s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 1246s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 1246s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 1246s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 1246s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 1246s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 1249s Fetched 2280 kB in 1s (1891 kB/s) 1249s Reading package lists... 1250s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1250s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1251s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1251s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1251s Reading package lists... 1251s Reading package lists... 1252s Building dependency tree... 1252s Reading state information... 1252s Calculating upgrade... 1252s The following packages will be upgraded: 1252s liburcu8t64 libxcb1 tzdata 1252s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1252s Need to get 313 kB of archives. 1252s After this operation, 65.5 kB disk space will be freed. 1252s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 1252s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 1252s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 1253s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1253s Fetched 313 kB in 0s (20.8 MB/s) 1253s (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 ... 135255 files and directories currently installed.) 1253s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 1253s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 1253s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 1253s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 1253s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 1253s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 1253s Setting up liburcu8t64:arm64 (0.15.6-1) ... 1253s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 1253s Setting up tzdata (2025c-3ubuntu3) ... 1254s 1254s Current default time zone: 'Etc/UTC' 1254s Local time is now: Thu Jan 29 13:34:12 UTC 2026. 1254s Universal Time is now: Thu Jan 29 13:34:12 UTC 2026. 1254s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1254s 1254s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1254s autopkgtest [13:34:12]: upgrading testbed (apt dist-upgrade and autopurge) 1254s Reading package lists... 1254s Building dependency tree... 1254s Reading state information... 1254s Calculating upgrade... 1255s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1255s Reading package lists... 1255s Building dependency tree... 1255s Reading state information... 1255s Solving dependencies... 1256s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1258s Reading package lists... 1259s Building dependency tree... 1259s Reading state information... 1259s Solving dependencies... 1259s The following NEW packages will be installed: 1259s libgio-2.0-dev-bin 1259s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1259s Need to get 128 kB of archives. 1259s After this operation, 822 kB of additional disk space will be used. 1259s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 1260s Fetched 128 kB in 0s (1324 kB/s) 1260s Selecting previously unselected package libgio-2.0-dev-bin. 1260s (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 ... 135255 files and directories currently installed.) 1260s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 1260s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 1260s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 1260s Processing triggers for man-db (2.13.1-1) ... 1264s autopkgtest [13:34:22]: test libgio-2.0-dev-bin: [----------------------- 1265s + gdbus-codegen --help 1265s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1265s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1265s [--c-generate-autocleanup {none,objects,all}] 1265s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1265s [--generate-rst OUTFILES] [--pragma-once] 1265s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1265s [--glib-min-required VERSION] 1265s [--glib-max-allowed VERSION] 1265s [--symbol-decorator SYMBOL_DECORATOR] 1265s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1265s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1265s [--generate-c-code OUTFILES | --header | --body | 1265s --interface-info-header | --interface-info-body] 1265s [--output FILE | --output-directory OUTDIR] 1265s FILE [FILE ...] 1265s 1265s D-Bus code and documentation generator 1265s 1265s positional arguments: 1265s FILE D-Bus introspection XML file 1265s 1265s options: 1265s -h, --help show this help message and exit 1265s --interface-prefix PREFIX 1265s String to strip from D-Bus interface names for code 1265s and docs 1265s --c-namespace NAMESPACE 1265s The namespace to use for generated C code 1265s --c-generate-object-manager 1265s Generate a GDBusObjectManagerClient subclass when 1265s generating C code 1265s --c-generate-autocleanup {none,objects,all} 1265s Generate autocleanup support 1265s --generate-docbook OUTFILES 1265s Generate Docbook in OUTFILES-org.Project.IFace.xml 1265s --generate-md OUTFILES 1265s Generate Markdown in OUTFILES-org.Project.IFace.md 1265s --generate-rst OUTFILES 1265s Generate reStructuredText in OUTFILES- 1265s org.Project.IFace.rst 1265s --pragma-once Use "pragma once" as the inclusion guard 1265s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1265s Add annotation (may be used several times) 1265s --glib-min-required VERSION 1265s Minimum version of GLib to be supported by the 1265s outputted code (default: 2.30) 1265s --glib-max-allowed VERSION 1265s Maximum version of GLib to be used by the outputted 1265s code (default: current GLib version) 1265s --symbol-decorator SYMBOL_DECORATOR 1265s Macro used to decorate a symbol in the outputted 1265s header, possibly to export symbols 1265s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1265s Additional header required for decorator specified by 1265s --symbol-decorator 1265s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1265s Additional define required for decorator specified by 1265s --symbol-decorator 1265s --generate-c-code OUTFILES 1265s Generate C code in OUTFILES.[ch] 1265s --header Generate C headers 1265s --body Generate C code 1265s --interface-info-header 1265s Generate GDBusInterfaceInfo C header 1265s --interface-info-body 1265s Generate GDBusInterfaceInfo C code 1265s --output FILE Write output into the specified file 1265s --output-directory OUTDIR 1265s Location to output generated files 1265s + glib-compile-resources --version 1265s 2.86.3 1265s + glib-genmarshal --version 1265s glib-genmarshal version 2.86.3 1265s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1265s You may redistribute copies of glib-genmarshal under the terms of 1265s the GNU General Public License which can be found in the 1265s GLib source package. Sources, examples and contact 1265s information are available at http://www.gtk.org 1265s + glib-gettextize --version 1265s /usr/bin/glib-gettextize (GNU glib) 2.86.3 1265s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1265s This is free software; see the source for copying conditions. There is NO 1265s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1265s Written by Ulrich Drepper 1265s + glib-mkenums --version 1265s glib-mkenums version 2.86.3 1265s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1265s You may redistribute copies of glib-mkenums under the terms of 1265s the GNU General Public License which can be found in the 1265s GLib source package. Sources, examples and contact 1265s information are available at http://www.gtk.org 1265s + gobject-query tree 1265s + gtester --version 1265s GObject 1265s + gtester-report --version 1265s gtester version 2.86.3 1265s gtester-report (GLib utils) version 2.86.3. 1265s autopkgtest [13:34:23]: test libgio-2.0-dev-bin: -----------------------] 1266s autopkgtest [13:34:24]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 1266s libgio-2.0-dev-bin PASS (superficial) 1266s autopkgtest [13:34:24]: test libglib2.0-dev: preparing testbed 1285s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 1349s autopkgtest [13:35:47]: testbed dpkg architecture: arm64 1349s autopkgtest [13:35:47]: testbed apt version: 3.1.14 1350s autopkgtest [13:35:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1350s autopkgtest [13:35:48]: testbed release detected to be: resolute 1351s autopkgtest [13:35:49]: updating testbed package index (apt update) 1351s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1351s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1351s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1351s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1351s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1351s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 1351s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 1351s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 1351s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 1351s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 1351s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 1352s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 1352s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 1352s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 1352s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 1352s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 1354s Fetched 2280 kB in 1s (2739 kB/s) 1355s Reading package lists... 1357s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1357s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1357s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1357s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1358s Reading package lists... 1358s Reading package lists... 1358s Building dependency tree... 1358s Reading state information... 1359s Calculating upgrade... 1359s The following packages will be upgraded: 1359s liburcu8t64 libxcb1 tzdata 1359s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1359s Need to get 313 kB of archives. 1359s After this operation, 65.5 kB disk space will be freed. 1359s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 1359s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 1359s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 1360s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1360s Fetched 313 kB in 0s (9555 kB/s) 1360s (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 ... 135255 files and directories currently installed.) 1360s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 1360s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 1360s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 1360s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 1360s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 1360s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 1360s Setting up liburcu8t64:arm64 (0.15.6-1) ... 1360s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 1360s Setting up tzdata (2025c-3ubuntu3) ... 1360s 1360s Current default time zone: 'Etc/UTC' 1360s Local time is now: Thu Jan 29 13:35:58 UTC 2026. 1360s Universal Time is now: Thu Jan 29 13:35:58 UTC 2026. 1360s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1360s 1360s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1361s autopkgtest [13:35:59]: upgrading testbed (apt dist-upgrade and autopurge) 1361s Reading package lists... 1361s Building dependency tree... 1361s Reading state information... 1361s Calculating upgrade... 1362s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1362s Reading package lists... 1362s Building dependency tree... 1362s Reading state information... 1362s Solving dependencies... 1363s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1366s Reading package lists... 1366s Building dependency tree... 1366s Reading state information... 1367s Solving dependencies... 1367s The following NEW packages will be installed: 1367s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 1367s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 1367s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 1367s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-15-dev 1367s libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin libglib2.0-dev 1367s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 1367s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 1367s libpcre2-posix3 libpkgconf7 libselinux-dev libsepol-dev libstdc++-15-dev 1367s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 1367s pkgconf-bin uuid-dev zlib1g-dev 1367s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 1367s Need to get 70.9 MB of archives. 1367s After this operation, 260 MB of additional disk space will be used. 1367s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 1367s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 1367s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [11.7 MB] 1368s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-11ubuntu1 [1030 B] 1368s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 1368s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 1368s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-11ubuntu1 [49.0 kB] 1368s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-11ubuntu1 [147 kB] 1368s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-11ubuntu1 [28.0 kB] 1368s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-11ubuntu1 [2920 kB] 1368s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-11ubuntu1 [1316 kB] 1368s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-11ubuntu1 [2690 kB] 1368s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-11ubuntu1 [1176 kB] 1369s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-11ubuntu1 [1638 kB] 1369s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-11ubuntu1 [2600 kB] 1369s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [23.1 MB] 1369s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-11ubuntu1 [517 kB] 1369s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 1369s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 1369s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-11ubuntu1 [2547 kB] 1369s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-11ubuntu1 [13.2 MB] 1369s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-11ubuntu1 [24.6 kB] 1369s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 1369s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 1369s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 1369s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 1369s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 1369s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 1369s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 1369s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 1369s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 1369s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 1369s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 1369s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 1369s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 1369s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 1369s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 1369s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 1369s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 1369s Get:40 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpkgconf7 arm64 2.5.1-2 [38.1 kB] 1369s Get:41 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 pkgconf-bin arm64 2.5.1-2 [22.4 kB] 1369s Get:42 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 pkgconf arm64 2.5.1-2 [20.0 kB] 1370s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 1370s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB] 1370s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 1370s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB] 1370s Get:47 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB] 1370s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev arm64 2.86.3-4 [18.9 kB] 1370s Fetched 70.9 MB in 3s (27.5 MB/s) 1370s Selecting previously unselected package libisl23:arm64. 1370s (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 ... 135255 files and directories currently installed.) 1370s Preparing to unpack .../00-libisl23_0.27-1build1_arm64.deb ... 1370s Unpacking libisl23:arm64 (0.27-1build1) ... 1370s Selecting previously unselected package libmpc3:arm64. 1370s Preparing to unpack .../01-libmpc3_1.3.1-2_arm64.deb ... 1370s Unpacking libmpc3:arm64 (1.3.1-2) ... 1370s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 1370s Preparing to unpack .../02-cpp-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 1370s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1370s Selecting previously unselected package cpp-15. 1370s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_arm64.deb ... 1370s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 1370s Selecting previously unselected package cpp-aarch64-linux-gnu. 1370s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 1370s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1370s Selecting previously unselected package cpp. 1370s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 1370s Unpacking cpp (4:15.2.0-4ubuntu1) ... 1370s Selecting previously unselected package libcc1-0:arm64. 1370s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_arm64.deb ... 1370s Unpacking libcc1-0:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libgomp1:arm64. 1371s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libgomp1:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libitm1:arm64. 1371s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libitm1:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libasan8:arm64. 1371s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libasan8:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package liblsan0:arm64. 1371s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking liblsan0:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libtsan2:arm64. 1371s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libtsan2:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libubsan1:arm64. 1371s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libubsan1:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libhwasan0:arm64. 1371s Preparing to unpack .../13-libhwasan0_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libhwasan0:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package libgcc-15-dev:arm64. 1371s Preparing to unpack .../14-libgcc-15-dev_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking libgcc-15-dev:arm64 (15.2.0-11ubuntu1) ... 1371s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 1371s Preparing to unpack .../15-gcc-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 1371s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1372s Selecting previously unselected package gcc-15. 1372s Preparing to unpack .../16-gcc-15_15.2.0-11ubuntu1_arm64.deb ... 1372s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 1372s Selecting previously unselected package gcc-aarch64-linux-gnu. 1372s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 1372s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1372s Selecting previously unselected package gcc. 1372s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 1372s Unpacking gcc (4:15.2.0-4ubuntu1) ... 1372s Selecting previously unselected package libstdc++-15-dev:arm64. 1372s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-11ubuntu1_arm64.deb ... 1372s Unpacking libstdc++-15-dev:arm64 (15.2.0-11ubuntu1) ... 1372s Selecting previously unselected package g++-15-aarch64-linux-gnu. 1372s Preparing to unpack .../20-g++-15-aarch64-linux-gnu_15.2.0-11ubuntu1_arm64.deb ... 1372s Unpacking g++-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1372s Selecting previously unselected package g++-15. 1372s Preparing to unpack .../21-g++-15_15.2.0-11ubuntu1_arm64.deb ... 1372s Unpacking g++-15 (15.2.0-11ubuntu1) ... 1372s Selecting previously unselected package g++-aarch64-linux-gnu. 1372s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 1372s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1372s Selecting previously unselected package g++. 1372s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 1372s Unpacking g++ (4:15.2.0-4ubuntu1) ... 1372s Selecting previously unselected package build-essential. 1372s Preparing to unpack .../24-build-essential_12.12ubuntu2_arm64.deb ... 1372s Unpacking build-essential (12.12ubuntu2) ... 1372s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 1372s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 1372s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 1372s Selecting previously unselected package native-architecture. 1372s Preparing to unpack .../26-native-architecture_0.2.6build1_all.deb ... 1372s Unpacking native-architecture (0.2.6build1) ... 1372s Selecting previously unselected package girepository-tools:arm64. 1372s Preparing to unpack .../27-girepository-tools_2.86.3-4_arm64.deb ... 1372s Unpacking girepository-tools:arm64 (2.86.3-4) ... 1372s Selecting previously unselected package libffi-dev:arm64. 1372s Preparing to unpack .../28-libffi-dev_3.5.2-3_arm64.deb ... 1372s Unpacking libffi-dev:arm64 (3.5.2-3) ... 1372s Selecting previously unselected package uuid-dev:arm64. 1372s Preparing to unpack .../29-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 1372s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 1372s Selecting previously unselected package libblkid-dev:arm64. 1373s Preparing to unpack .../30-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 1373s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 1373s Selecting previously unselected package libsepol-dev:arm64. 1373s Preparing to unpack .../31-libsepol-dev_3.9-2_arm64.deb ... 1373s Unpacking libsepol-dev:arm64 (3.9-2) ... 1373s Selecting previously unselected package libpcre2-16-0:arm64. 1373s Preparing to unpack .../32-libpcre2-16-0_10.46-1_arm64.deb ... 1373s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 1373s Selecting previously unselected package libpcre2-32-0:arm64. 1373s Preparing to unpack .../33-libpcre2-32-0_10.46-1_arm64.deb ... 1373s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 1373s Selecting previously unselected package libpcre2-posix3:arm64. 1373s Preparing to unpack .../34-libpcre2-posix3_10.46-1_arm64.deb ... 1373s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 1373s Selecting previously unselected package libpcre2-dev:arm64. 1373s Preparing to unpack .../35-libpcre2-dev_10.46-1_arm64.deb ... 1373s Unpacking libpcre2-dev:arm64 (10.46-1) ... 1373s Selecting previously unselected package libselinux-dev:arm64. 1373s Preparing to unpack .../36-libselinux-dev_3.9-4_arm64.deb ... 1373s Unpacking libselinux-dev:arm64 (3.9-4) ... 1373s Selecting previously unselected package libmount-dev:arm64. 1373s Preparing to unpack .../37-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 1373s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 1373s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 1373s Preparing to unpack .../38-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 1373s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 1373s Selecting previously unselected package libpkgconf7:arm64. 1373s Preparing to unpack .../39-libpkgconf7_2.5.1-2_arm64.deb ... 1373s Unpacking libpkgconf7:arm64 (2.5.1-2) ... 1373s Selecting previously unselected package pkgconf-bin. 1373s Preparing to unpack .../40-pkgconf-bin_2.5.1-2_arm64.deb ... 1373s Unpacking pkgconf-bin (2.5.1-2) ... 1373s Selecting previously unselected package pkgconf:arm64. 1373s Preparing to unpack .../41-pkgconf_2.5.1-2_arm64.deb ... 1373s Unpacking pkgconf:arm64 (2.5.1-2) ... 1373s Selecting previously unselected package zlib1g-dev:arm64. 1373s Preparing to unpack .../42-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 1373s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1373s Selecting previously unselected package libgio-2.0-dev:arm64. 1373s Preparing to unpack .../43-libgio-2.0-dev_2.86.3-4_arm64.deb ... 1373s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ... 1373s Selecting previously unselected package libgio-2.0-dev-bin. 1373s Preparing to unpack .../44-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 1373s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 1373s Selecting previously unselected package libglib2.0-bin. 1373s Preparing to unpack .../45-libglib2.0-bin_2.86.3-4_arm64.deb ... 1373s Unpacking libglib2.0-bin (2.86.3-4) ... 1373s Selecting previously unselected package libglib2.0-dev-bin. 1373s Preparing to unpack .../46-libglib2.0-dev-bin_2.86.3-4_arm64.deb ... 1373s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 1373s Selecting previously unselected package libglib2.0-dev:arm64. 1373s Preparing to unpack .../47-libglib2.0-dev_2.86.3-4_arm64.deb ... 1373s Unpacking libglib2.0-dev:arm64 (2.86.3-4) ... 1373s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 1374s Setting up native-architecture (0.2.6build1) ... 1374s Setting up libpkgconf7:arm64 (2.5.1-2) ... 1374s Setting up libglib2.0-bin (2.86.3-4) ... 1374s Setting up libgomp1:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libffi-dev:arm64 (3.5.2-3) ... 1374s Setting up libpcre2-16-0:arm64 (10.46-1) ... 1374s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 1374s Setting up libpcre2-32-0:arm64 (10.46-1) ... 1374s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 1374s Setting up libmpc3:arm64 (1.3.1-2) ... 1374s Setting up libsepol-dev:arm64 (3.9-2) ... 1374s Setting up pkgconf-bin (2.5.1-2) ... 1374s Setting up libubsan1:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1374s Setting up libpcre2-posix3:arm64 (10.46-1) ... 1374s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 1374s Setting up libhwasan0:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libasan8:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libtsan2:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libisl23:arm64 (0.27-1build1) ... 1374s Setting up libcc1-0:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up liblsan0:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libitm1:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 1374s Setting up cpp-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1374s Setting up girepository-tools:arm64 (2.86.3-4) ... 1374s Setting up libgcc-15-dev:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up libpcre2-dev:arm64 (10.46-1) ... 1374s Setting up pkgconf:arm64 (2.5.1-2) ... 1374s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1374s Setting up libstdc++-15-dev:arm64 (15.2.0-11ubuntu1) ... 1374s Setting up cpp-15 (15.2.0-11ubuntu1) ... 1374s Setting up cpp (4:15.2.0-4ubuntu1) ... 1374s Setting up libselinux-dev:arm64 (3.9-4) ... 1374s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 1374s Setting up libglib2.0-dev-bin (2.86.3-4) ... 1374s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ... 1374s Setting up gcc-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1374s Setting up gcc-15 (15.2.0-11ubuntu1) ... 1374s Setting up g++-15-aarch64-linux-gnu (15.2.0-11ubuntu1) ... 1374s Setting up g++-15 (15.2.0-11ubuntu1) ... 1374s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1374s Setting up gcc (4:15.2.0-4ubuntu1) ... 1374s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 1374s Setting up g++ (4:15.2.0-4ubuntu1) ... 1374s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1374s Setting up build-essential (12.12ubuntu2) ... 1374s Processing triggers for install-info (7.2-5) ... 1374s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1374s Processing triggers for man-db (2.13.1-1) ... 1375s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 1375s No schema files found: doing nothing. 1375s Setting up libglib2.0-dev:arm64 (2.86.3-4) ... 1381s autopkgtest [13:36:19]: test libglib2.0-dev: [----------------------- 1381s + debian/tests/build 1381s + mode=dynamic 1381s + getopt -o --long static -n debian/tests/build -- 1381s + getopt_temp= -- 1381s + eval set -- -- 1381s + set -- -- 1381s + true 1381s + shift 1381s + break 1381s + mktemp -d 1381s + WORKDIR=/tmp/tmp.FQPD1ObLHU 1381s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1381s + cd /tmp/tmp.FQPD1ObLHU 1381s + [ -n ] 1381s + CROSS_COMPILE= 1381s + cat 1381s + cat 1381s + cat 1381s + cat 1381s + cat 1381s + cat 1381s + cflags= 1381s + pcflags= 1381s + packages=glib-2.0 1381s + pkg-config --cflags --libs glib-2.0 1381s + 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 1381s + echo build (glib, dynamic): OK 1381s + [ -x glib-dynamic ] 1381s + foo=bar ./glib-dynamic 1381s build (glib, dynamic): OK 1381s + echo run (glib, dynamic): OK 1381s + cflags= 1381s + pcflags= 1381s + packages=gobject-2.0 1381s + pkg-config --cflags --libs gobject-2.0 1381s run (glib, dynamic): OK 1381s + 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 1381s + echo build (gobject, dynamic): OK 1381s + [ -x gobject-dynamic ] 1381s + foo=bar ./gobject-dynamic 1381s build (gobject, dynamic): OK 1381s run (gobject, dynamic): OK 1381s + echo run (gobject, dynamic): OK 1381s + cflags= 1381s + pcflags= 1381s + packages=gio-2.0 1381s + pkg-config --cflags --libs gio-2.0 1381s + 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/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1381s build (gio, dynamic): OK 1381s run (gio, dynamic): OK 1381s + echo build (gio, dynamic): OK 1381s + [ -x gio-dynamic ] 1381s + foo=bar ./gio-dynamic 1381s + echo run (gio, dynamic): OK 1381s + cflags= 1381s + pcflags= 1381s + packages=gio-unix-2.0 1381s + pkg-config --cflags --libs gio-unix-2.0 1381s + 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/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1382s build (gio-unix, dynamic): OK 1382s + echo build (gio-unix, dynamic): OK 1382s + [ -x gio-unix-dynamic ] 1382s + foo=bar ./gio-unix-dynamic 1382s run (gio-unix, dynamic): OK 1382s + echo run (gio-unix, dynamic): OK 1382s + cflags= 1382s + pcflags= 1382s + packages=gmodule-2.0 1382s + pkg-config --cflags --libs gmodule-2.0 1382s + 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 1382s build (gmodule, dynamic): OK 1382s run (gmodule, dynamic): OK 1382s + echo build (gmodule, dynamic): OK 1382s + [ -x gmodule-dynamic ] 1382s + foo=bar ./gmodule-dynamic 1382s + echo run (gmodule, dynamic): OK 1382s + cflags= 1382s + pcflags= 1382s + packages=gthread-2.0 1382s + pkg-config --cflags --libs gthread-2.0 1382s + 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 1382s build (gthread, dynamic): OK 1382s + echo build (gthread, dynamic): OK 1382s + [ -x gthread-dynamic ] 1382s + foo=bar ./gthread-dynamic 1382s run (gthread, dynamic): OK 1382s + echo run (gthread, dynamic): OK 1382s + rm -rf /tmp/tmp.FQPD1ObLHU 1382s + debian/tests/build-static 1382s + mode=dynamic 1382s + getopt -o --long static -n debian/tests/build -- --static 1382s + getopt_temp= --static -- 1382s + eval set -- --static -- 1382s + set -- --static -- 1382s + true 1382s + mode=static 1382s + shift 1382s + continue 1382s + true 1382s + shift 1382s + break 1382s + mktemp -d 1382s + WORKDIR=/tmp/tmp.4CPhpgAjdk 1382s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1382s + cd /tmp/tmp.4CPhpgAjdk 1382s + [ -n ] 1382s + CROSS_COMPILE= 1382s + cat 1382s + cat 1382s + cat 1382s + cat 1382s + cat 1382s + cat 1382s + cflags= 1382s + pcflags= 1382s + packages=glib-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + pkg-config --static --cflags --libs glib-2.0 1382s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1382s /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': 1382s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1382s /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 1382s /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 1382s build (glib, static): OK 1382s + echo build (glib, static): OK 1382s + [ -x glib-static ] 1382s + foo=bar ./glib-static 1382s + echo run (glib, static): OK 1382s + cflags= 1382s + pcflags= 1382s + packages=gobject-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + pkg-config --static --cflags --libs gobject-2.0 1382s run (glib, static): OK 1382s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 1382s /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': 1382s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1382s /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 1382s /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 1382s build (gobject, static): OK 1382s + echo build (gobject, static): OK 1382s + [ -x gobject-static ] 1382s + foo=bar ./gobject-static 1382s + echo run (gobject, static): OK 1382s + cflags= 1382s + pcflags= 1382s + packages=gio-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + continue 1382s + cflags= 1382s + pcflags= 1382s + packages=gio-unix-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + continue 1382s + cflags= 1382s + pcflags= 1382s + packages=gmodule-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + pkg-config --static --cflags --libs gmodule-2.0 1382s run (gobject, static): OK 1382s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1382s /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': 1382s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1382s /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': 1382s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1382s /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 1382s /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 1382s build (gmodule, static): OK 1382s + echo build (gmodule, static): OK 1382s + [ -x gmodule-static ] 1382s + foo=bar ./gmodule-static 1382s run (gmodule, static): OK 1382s + echo run (gmodule, static): OK 1382s + cflags= 1382s + pcflags= 1382s + packages=gthread-2.0 1382s + cflags=-static 1382s + pcflags=--static 1382s + pkg-config --static --cflags --libs gthread-2.0 1382s + 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 -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1382s /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': 1382s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1382s /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 1382s /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 1383s build (gthread, static): OK 1383s + echo build (gthread, static): OK 1383s + [ -x gthread-static ] 1383s + foo=bar ./gthread-static 1383s run (gthread, static): OK 1383s + echo run (gthread, static): OK 1383s + rm -rf /tmp/tmp.4CPhpgAjdk 1383s + debian/tests/girepository-tools 1383s + cd /tmp/autopkgtest.WXQj7X/autopkgtest_tmp 1383s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1383s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 1383s + dpkg-architecture -qDEB_HOST_MULTIARCH 1383s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 1383s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1383s typelib: GLib-2.0 1383s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 1383s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 1383s + debian/tests/libgio-2.0-dev-bin 1383s + gdbus-codegen --help 1383s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1383s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1383s [--c-generate-autocleanup {none,objects,all}] 1383s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1383s [--generate-rst OUTFILES] [--pragma-once] 1383s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1383s [--glib-min-required VERSION] 1383s [--glib-max-allowed VERSION] 1383s [--symbol-decorator SYMBOL_DECORATOR] 1383s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1383s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1383s [--generate-c-code OUTFILES | --header | --body | 1383s --interface-info-header | --interface-info-body] 1383s [--output FILE | --output-directory OUTDIR] 1383s FILE [FILE ...] 1383s 1383s D-Bus code and documentation generator 1383s 1383s positional arguments: 1383s FILE D-Bus introspection XML file 1383s 1383s options: 1383s -h, --help show this help message and exit 1383s --interface-prefix PREFIX 1383s String to strip from D-Bus interface names for code 1383s and docs 1383s --c-namespace NAMESPACE 1383s The namespace to use for generated C code 1383s --c-generate-object-manager 1383s Generate a GDBusObjectManagerClient subclass when 1383s generating C code 1383s --c-generate-autocleanup {none,objects,all} 1383s Generate autocleanup support 1383s --generate-docbook OUTFILES 1383s Generate Docbook in OUTFILES-org.Project.IFace.xml 1383s --generate-md OUTFILES 1383s Generate Markdown in OUTFILES-org.Project.IFace.md 1383s --generate-rst OUTFILES 1383s Generate reStructuredText in OUTFILES- 1383s org.Project.IFace.rst 1383s --pragma-once Use "pragma once" as the inclusion guard 1383s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1383s Add annotation (may be used several times) 1383s --glib-min-required VERSION 1383s Minimum version of GLib to be supported by the 1383s outputted code (default: 2.30) 1383s --glib-max-allowed VERSION 1383s Maximum version of GLib to be used by the outputted 1383s code (default: current GLib version) 1383s --symbol-decorator SYMBOL_DECORATOR 1383s Macro used to decorate a symbol in the outputted 1383s header, possibly to export symbols 1383s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1383s Additional header required for decorator specified by 1383s --symbol-decorator 1383s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1383s Additional define required for decorator specified by 1383s --symbol-decorator 1383s --generate-c-code OUTFILES 1383s Generate C code in OUTFILES.[ch] 1383s --header Generate C headers 1383s --body Generate C code 1383s --interface-info-header 1383s Generate GDBusInterfaceInfo C header 1383s --interface-info-body 1383s Generate GDBusInterfaceInfo C code 1383s --output FILE Write output into the specified file 1383s --output-directory OUTDIR 1383s Location to output generated files 1383s + glib-compile-resources --version 1383s 2.86.3 1383s + glib-genmarshal --version 1383s glib-genmarshal version 2.86.3 1383s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1383s You may redistribute copies of glib-genmarshal under the terms of 1383s the GNU General Public License which can be found in the 1383s GLib source package. Sources, examples and contact 1383s information are available at http://www.gtk.org 1383s + glib-gettextize --version 1383s /usr/bin/glib-gettextize (GNU glib) 2.86.3 1383s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1383s This is free software; see the source for copying conditions. There is NO 1383s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1383s Written by Ulrich Drepper 1383s + glib-mkenums --version 1383s glib-mkenums version 2.86.3 1383s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1383s You may redistribute copies of glib-mkenums under the terms of 1383s the GNU General Public License which can be found in the 1383s GLib source package. Sources, examples and contact 1383s information are available at http://www.gtk.org 1383s + gobject-query tree 1383s GObject 1383s + gtester --version 1383s gtester version 2.86.3 1383s + gtester-report --version 1383s gtester-report (GLib utils) version 2.86.3. 1383s + cd /tmp/autopkgtest.WXQj7X/autopkgtest_tmp 1383s + dpkg-architecture -qDEB_HOST_MULTIARCH 1383s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 1383s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1383s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 1383s typelib: GLib-2.0 1383s + gi-decompile-typelib -o GLib.gir GLib.typelib 1384s autopkgtest [13:36:22]: test libglib2.0-dev: -----------------------] 1384s autopkgtest [13:36:22]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1384s libglib2.0-dev PASS (superficial) 1384s autopkgtest [13:36:22]: test installed-tests: preparing testbed 1403s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 1466s autopkgtest [13:37:44]: testbed dpkg architecture: arm64 1467s autopkgtest [13:37:45]: testbed apt version: 3.1.14 1467s autopkgtest [13:37:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1467s autopkgtest [13:37:45]: testbed release detected to be: resolute 1468s autopkgtest [13:37:46]: updating testbed package index (apt update) 1468s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1468s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1468s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1468s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1468s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1468s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 1468s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 1468s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 1468s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 1469s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 1469s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 1469s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 1469s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 1469s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 1469s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 1469s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 1471s Fetched 2280 kB in 1s (3430 kB/s) 1472s Reading package lists... 1473s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1473s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1473s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1473s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1474s Reading package lists... 1474s Reading package lists... 1474s Building dependency tree... 1474s Reading state information... 1474s Calculating upgrade... 1475s The following packages will be upgraded: 1475s liburcu8t64 libxcb1 tzdata 1475s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1475s Need to get 313 kB of archives. 1475s After this operation, 65.5 kB disk space will be freed. 1475s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 1475s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 1475s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 1475s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1475s Fetched 313 kB in 0s (11.0 MB/s) 1475s (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 ... 135255 files and directories currently installed.) 1475s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 1475s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 1476s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 1476s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 1476s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 1476s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 1476s Setting up liburcu8t64:arm64 (0.15.6-1) ... 1476s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 1476s Setting up tzdata (2025c-3ubuntu3) ... 1476s 1476s Current default time zone: 'Etc/UTC' 1476s Local time is now: Thu Jan 29 13:37:54 UTC 2026. 1476s Universal Time is now: Thu Jan 29 13:37:54 UTC 2026. 1476s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1476s 1476s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1476s autopkgtest [13:37:54]: upgrading testbed (apt dist-upgrade and autopurge) 1476s Reading package lists... 1477s Building dependency tree... 1477s Reading state information... 1477s Calculating upgrade... 1477s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1477s Reading package lists... 1478s Building dependency tree... 1478s Reading state information... 1478s Solving dependencies... 1478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1481s Reading package lists... 1481s Building dependency tree... 1481s Reading state information... 1481s Solving dependencies... 1481s The following NEW packages will be installed: 1481s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 1481s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 1481s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 1481s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 1481s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1481s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 1481s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 1481s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 1481s x11-common x11-xkb-utils xserver-common xvfb 1481s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 1481s Need to get 18.6 MB of archives. 1481s After this operation, 108 MB of additional disk space will be used. 1481s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 dbus-x11 arm64 1.16.2-2ubuntu2 [23.1 kB] 1482s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 desktop-file-utils arm64 0.28-1build1 [53.5 kB] 1482s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 1482s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 1482s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 1482s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 gnome-desktop-testing arm64 2021.1-5 [16.2 kB] 1482s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libfontenc1 arm64 1:1.1.8-1build2 [13.9 kB] 1482s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libx11-xcb1 arm64 2:1.8.12-1build1 [8216 B] 1482s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-dri3-0 arm64 1.17.0-2ubuntu1 [7624 B] 1482s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-present0 arm64 1.17.0-2ubuntu1 [6198 B] 1482s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-randr0 arm64 1.17.0-2ubuntu1 [18.1 kB] 1482s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-sync1 arm64 1.17.0-2ubuntu1 [9620 B] 1482s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-xfixes0 arm64 1.17.0-2ubuntu1 [10.4 kB] 1482s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libxshmfence1 arm64 1.3.3-1 [5378 B] 1482s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 mesa-libgallium arm64 25.3.3-1ubuntu1 [12.1 MB] 1483s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 libgbm1 arm64 25.3.3-1ubuntu1 [34.4 kB] 1483s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 1483s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libvulkan1 arm64 1.4.335.0-1 [171 kB] 1483s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1-mesa-dri arm64 25.3.3-1ubuntu1 [36.4 kB] 1483s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB] 1483s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB] 1483s Get:22 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dbusmock all 0.37.2-1 [90.9 kB] 1483s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 1483s Get:24 http://ftpmaster.internal/ubuntu resolute/universe arm64 libglib2.0-tests arm64 2.86.3-4 [2268 kB] 1484s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-glx0 arm64 1.17.0-2ubuntu1 [25.1 kB] 1484s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-shm0 arm64 1.17.0-2ubuntu1 [5938 B] 1484s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 libxxf86vm1 arm64 1:1.1.4-2 [10.2 kB] 1484s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx-mesa0 arm64 25.3.3-1ubuntu1 [110 kB] 1484s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-common all 1:7.7+24ubuntu1 [22.4 kB] 1484s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libice6 arm64 2:1.1.1-1build1 [43.0 kB] 1484s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libpixman-1-0 arm64 0.46.4-1 [204 kB] 1484s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libsm6 arm64 2:1.2.6-1 [16.6 kB] 1484s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libunwind8 arm64 1.8.3-0ubuntu1 [60.8 kB] 1484s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libxt6t64 arm64 1:1.2.1-1.3 [168 kB] 1484s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libxmu6 arm64 2:1.1.3-4 [47.6 kB] 1484s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libxpm4 arm64 1:3.5.17-1build3 [35.5 kB] 1484s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libxaw7 arm64 2:1.0.16-1build1 [183 kB] 1484s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libxfont2 arm64 1:2.0.6-2 [90.8 kB] 1484s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libxkbfile1 arm64 1:1.1.0-1build5 [69.0 kB] 1484s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrender1 arm64 1:0.9.12-1 [19.5 kB] 1484s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrandr2 arm64 2:1.5.4-1build1 [19.1 kB] 1484s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-xkb-utils arm64 7.7+9build1 [165 kB] 1484s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 1484s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libglvnd0 arm64 1.7.0-3 [57.9 kB] 1484s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx0 arm64 1.7.0-3 [33.0 kB] 1484s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1 arm64 1.7.0-3 [102 kB] 1484s Get:47 http://ftpmaster.internal/ubuntu resolute/universe arm64 xvfb arm64 2:21.1.21-1ubuntu1 [872 kB] 1484s Fetched 18.6 MB in 2s (8490 kB/s) 1484s Selecting previously unselected package dbus-x11. 1484s (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 ... 135255 files and directories currently installed.) 1484s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_arm64.deb ... 1484s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 1484s Selecting previously unselected package desktop-file-utils. 1484s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_arm64.deb ... 1484s Unpacking desktop-file-utils (0.28-1build1) ... 1484s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 1484s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 1484s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 1484s Selecting previously unselected package native-architecture. 1484s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 1484s Unpacking native-architecture (0.2.6build1) ... 1484s Selecting previously unselected package girepository-tools:arm64. 1484s Preparing to unpack .../04-girepository-tools_2.86.3-4_arm64.deb ... 1484s Unpacking girepository-tools:arm64 (2.86.3-4) ... 1484s Selecting previously unselected package gnome-desktop-testing. 1484s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_arm64.deb ... 1484s Unpacking gnome-desktop-testing (2021.1-5) ... 1484s Selecting previously unselected package libfontenc1:arm64. 1484s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_arm64.deb ... 1484s Unpacking libfontenc1:arm64 (1:1.1.8-1build2) ... 1484s Selecting previously unselected package libx11-xcb1:arm64. 1484s Preparing to unpack .../07-libx11-xcb1_2%3a1.8.12-1build1_arm64.deb ... 1484s Unpacking libx11-xcb1:arm64 (2:1.8.12-1build1) ... 1484s Selecting previously unselected package libxcb-dri3-0:arm64. 1484s Preparing to unpack .../08-libxcb-dri3-0_1.17.0-2ubuntu1_arm64.deb ... 1484s Unpacking libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 1484s Selecting previously unselected package libxcb-present0:arm64. 1485s Preparing to unpack .../09-libxcb-present0_1.17.0-2ubuntu1_arm64.deb ... 1485s Unpacking libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 1485s Selecting previously unselected package libxcb-randr0:arm64. 1485s Preparing to unpack .../10-libxcb-randr0_1.17.0-2ubuntu1_arm64.deb ... 1485s Unpacking libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 1485s Selecting previously unselected package libxcb-sync1:arm64. 1485s Preparing to unpack .../11-libxcb-sync1_1.17.0-2ubuntu1_arm64.deb ... 1485s Unpacking libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 1485s Selecting previously unselected package libxcb-xfixes0:arm64. 1485s Preparing to unpack .../12-libxcb-xfixes0_1.17.0-2ubuntu1_arm64.deb ... 1485s Unpacking libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 1485s Selecting previously unselected package libxshmfence1:arm64. 1485s Preparing to unpack .../13-libxshmfence1_1.3.3-1_arm64.deb ... 1485s Unpacking libxshmfence1:arm64 (1.3.3-1) ... 1485s Selecting previously unselected package mesa-libgallium:arm64. 1485s Preparing to unpack .../14-mesa-libgallium_25.3.3-1ubuntu1_arm64.deb ... 1485s Unpacking mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 1485s Selecting previously unselected package libgbm1:arm64. 1485s Preparing to unpack .../15-libgbm1_25.3.3-1ubuntu1_arm64.deb ... 1485s Unpacking libgbm1:arm64 (25.3.3-1ubuntu1) ... 1485s Selecting previously unselected package libgio-2.0-dev-bin. 1485s Preparing to unpack .../16-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 1485s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 1485s Selecting previously unselected package libvulkan1:arm64. 1485s Preparing to unpack .../17-libvulkan1_1.4.335.0-1_arm64.deb ... 1485s Unpacking libvulkan1:arm64 (1.4.335.0-1) ... 1485s Selecting previously unselected package libgl1-mesa-dri:arm64. 1485s Preparing to unpack .../18-libgl1-mesa-dri_25.3.3-1ubuntu1_arm64.deb ... 1485s Unpacking libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 1485s Selecting previously unselected package libglib2.0-bin. 1485s Preparing to unpack .../19-libglib2.0-bin_2.86.3-4_arm64.deb ... 1485s Unpacking libglib2.0-bin (2.86.3-4) ... 1485s Selecting previously unselected package libglib2.0-dev-bin. 1485s Preparing to unpack .../20-libglib2.0-dev-bin_2.86.3-4_arm64.deb ... 1485s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 1485s Selecting previously unselected package python3-dbusmock. 1485s Preparing to unpack .../21-python3-dbusmock_0.37.2-1_all.deb ... 1485s Unpacking python3-dbusmock (0.37.2-1) ... 1485s Selecting previously unselected package tzdata-legacy. 1485s Preparing to unpack .../22-tzdata-legacy_2025c-3ubuntu3_all.deb ... 1485s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 1485s Selecting previously unselected package libglib2.0-tests. 1485s Preparing to unpack .../23-libglib2.0-tests_2.86.3-4_arm64.deb ... 1485s Unpacking libglib2.0-tests (2.86.3-4) ... 1486s Selecting previously unselected package libxcb-glx0:arm64. 1486s Preparing to unpack .../24-libxcb-glx0_1.17.0-2ubuntu1_arm64.deb ... 1486s Unpacking libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 1486s Selecting previously unselected package libxcb-shm0:arm64. 1486s Preparing to unpack .../25-libxcb-shm0_1.17.0-2ubuntu1_arm64.deb ... 1486s Unpacking libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 1486s Selecting previously unselected package libxxf86vm1:arm64. 1486s Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-2_arm64.deb ... 1486s Unpacking libxxf86vm1:arm64 (1:1.1.4-2) ... 1486s Selecting previously unselected package libglx-mesa0:arm64. 1486s Preparing to unpack .../27-libglx-mesa0_25.3.3-1ubuntu1_arm64.deb ... 1486s Unpacking libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 1486s Selecting previously unselected package x11-common. 1486s Preparing to unpack .../28-x11-common_1%3a7.7+24ubuntu1_all.deb ... 1486s Unpacking x11-common (1:7.7+24ubuntu1) ... 1486s Selecting previously unselected package libice6:arm64. 1486s Preparing to unpack .../29-libice6_2%3a1.1.1-1build1_arm64.deb ... 1486s Unpacking libice6:arm64 (2:1.1.1-1build1) ... 1486s Selecting previously unselected package libpixman-1-0:arm64. 1486s Preparing to unpack .../30-libpixman-1-0_0.46.4-1_arm64.deb ... 1486s Unpacking libpixman-1-0:arm64 (0.46.4-1) ... 1486s Selecting previously unselected package libsm6:arm64. 1486s Preparing to unpack .../31-libsm6_2%3a1.2.6-1_arm64.deb ... 1486s Unpacking libsm6:arm64 (2:1.2.6-1) ... 1486s Selecting previously unselected package libunwind8:arm64. 1486s Preparing to unpack .../32-libunwind8_1.8.3-0ubuntu1_arm64.deb ... 1486s Unpacking libunwind8:arm64 (1.8.3-0ubuntu1) ... 1486s Selecting previously unselected package libxt6t64:arm64. 1486s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_arm64.deb ... 1486s Unpacking libxt6t64:arm64 (1:1.2.1-1.3) ... 1486s Selecting previously unselected package libxmu6:arm64. 1486s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_arm64.deb ... 1486s Unpacking libxmu6:arm64 (2:1.1.3-4) ... 1486s Selecting previously unselected package libxpm4:arm64. 1486s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_arm64.deb ... 1486s Unpacking libxpm4:arm64 (1:3.5.17-1build3) ... 1486s Selecting previously unselected package libxaw7:arm64. 1486s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_arm64.deb ... 1486s Unpacking libxaw7:arm64 (2:1.0.16-1build1) ... 1486s Selecting previously unselected package libxfont2:arm64. 1486s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_arm64.deb ... 1486s Unpacking libxfont2:arm64 (1:2.0.6-2) ... 1487s Selecting previously unselected package libxkbfile1:arm64. 1487s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_arm64.deb ... 1487s Unpacking libxkbfile1:arm64 (1:1.1.0-1build5) ... 1487s Selecting previously unselected package libxrender1:arm64. 1487s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_arm64.deb ... 1487s Unpacking libxrender1:arm64 (1:0.9.12-1) ... 1487s Selecting previously unselected package libxrandr2:arm64. 1487s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_arm64.deb ... 1487s Unpacking libxrandr2:arm64 (2:1.5.4-1build1) ... 1487s Selecting previously unselected package x11-xkb-utils. 1487s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_arm64.deb ... 1487s Unpacking x11-xkb-utils (7.7+9build1) ... 1487s Selecting previously unselected package xserver-common. 1487s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 1487s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 1487s Selecting previously unselected package libglvnd0:arm64. 1487s Preparing to unpack .../43-libglvnd0_1.7.0-3_arm64.deb ... 1487s Unpacking libglvnd0:arm64 (1.7.0-3) ... 1487s Selecting previously unselected package libglx0:arm64. 1487s Preparing to unpack .../44-libglx0_1.7.0-3_arm64.deb ... 1487s Unpacking libglx0:arm64 (1.7.0-3) ... 1487s Selecting previously unselected package libgl1:arm64. 1487s Preparing to unpack .../45-libgl1_1.7.0-3_arm64.deb ... 1487s Unpacking libgl1:arm64 (1.7.0-3) ... 1487s Selecting previously unselected package xvfb. 1487s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_arm64.deb ... 1487s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 1487s Setting up gnome-desktop-testing (2021.1-5) ... 1487s Setting up libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up libpixman-1-0:arm64 (0.46.4-1) ... 1487s Setting up libx11-xcb1:arm64 (2:1.8.12-1build1) ... 1487s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 1487s Setting up native-architecture (0.2.6build1) ... 1487s Setting up libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up desktop-file-utils (0.28-1build1) ... 1487s Setting up libxpm4:arm64 (1:3.5.17-1build3) ... 1487s Setting up libxrender1:arm64 (1:0.9.12-1) ... 1487s Setting up libglvnd0:arm64 (1.7.0-3) ... 1487s Setting up libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up x11-common (1:7.7+24ubuntu1) ... 1487s Setting up libglib2.0-bin (2.86.3-4) ... 1487s Setting up libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up python3-dbusmock (0.37.2-1) ... 1487s Setting up libunwind8:arm64 (1.8.3-0ubuntu1) ... 1487s Setting up tzdata-legacy (2025c-3ubuntu3) ... 1487s Setting up libxxf86vm1:arm64 (1:1.1.4-2) ... 1487s Setting up libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up libfontenc1:arm64 (1:1.1.8-1build2) ... 1487s Setting up libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up libxrandr2:arm64 (2:1.5.4-1build1) ... 1487s Setting up libvulkan1:arm64 (1.4.335.0-1) ... 1487s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 1487s Setting up libxshmfence1:arm64 (1.3.3-1) ... 1487s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 1487s Setting up libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 1487s Setting up libxkbfile1:arm64 (1:1.1.0-1build5) ... 1487s Setting up libxfont2:arm64 (1:2.0.6-2) ... 1487s Setting up libice6:arm64 (2:1.1.1-1build1) ... 1487s Setting up mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 1487s Setting up girepository-tools:arm64 (2.86.3-4) ... 1487s Setting up libgbm1:arm64 (25.3.3-1ubuntu1) ... 1487s Setting up libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 1487s Setting up libsm6:arm64 (2:1.2.6-1) ... 1487s Setting up libglib2.0-dev-bin (2.86.3-4) ... 1487s Setting up libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 1487s Setting up libglx0:arm64 (1.7.0-3) ... 1487s Setting up libgl1:arm64 (1.7.0-3) ... 1487s Setting up libxt6t64:arm64 (1:1.2.1-1.3) ... 1487s Setting up libglib2.0-tests (2.86.3-4) ... 1488s Setting up libxmu6:arm64 (2:1.1.3-4) ... 1488s Setting up libxaw7:arm64 (2:1.0.16-1build1) ... 1488s Setting up x11-xkb-utils (7.7+9build1) ... 1488s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 1488s Setting up xvfb (2:21.1.21-1ubuntu1) ... 1488s Processing triggers for man-db (2.13.1-1) ... 1488s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1491s autopkgtest [13:38:09]: test installed-tests: [----------------------- 1491s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1491s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1491s group entry: ubuntu:x:1000: 1491s Environment: 1491s ADTTMP=/tmp/autopkgtest.WXQj7X/autopkgtest_tmp 1491s ADT_ARTIFACTS=/tmp/autopkgtest.WXQj7X/installed-tests-artifacts 1491s ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 1491s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.WXQj7X/installed-tests-artifacts 1491s AUTOPKGTEST_TESTBED_ARCH=arm64 1491s AUTOPKGTEST_TEST_ARCH=arm64 1491s AUTOPKGTEST_TMP=/tmp/autopkgtest.WXQj7X/autopkgtest_tmp 1491s DEBIAN_FRONTEND=noninteractive 1491s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 1491s DEB_BUILD_OPTIONS=parallel=2 1491s GIO_USE_VFS=local 1491s GIO_USE_VOLUME_MONITOR=unix 1491s HOME=/home/ubuntu 1491s LANG=C.UTF-8 1491s LOGNAME=ubuntu 1491s MAIL=/var/mail/ubuntu 1491s OLDPWD=/home/ubuntu 1491s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1491s PWD=/tmp/autopkgtest.WXQj7X/build.M07/src 1491s SHELL=/bin/bash 1491s SHLVL=1 1491s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WXQj7X/wrapper.sh --artifacts=/tmp/autopkgtest.WXQj7X/installed-tests-artifacts --chdir=/tmp/autopkgtest.WXQj7X/build.M07/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.WXQj7X/installed-tests-stderr --stdout=/tmp/autopkgtest.WXQj7X/installed-tests-stdout --tmp=/tmp/autopkgtest.WXQj7X/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 --make-executable=/tmp/autopkgtest.WXQj7X/build.M07/src/debian/tests/installed-tests -- /tmp/autopkgtest.WXQj7X/build.M07/src/debian/tests/installed-tests 1491s SUDO_GID=1000 1491s SUDO_HOME=/home/ubuntu 1491s SUDO_UID=1000 1491s SUDO_USER=ubuntu 1491s TERM=linux 1491s USER=ubuntu 1491s XDG_RUNTIME_DIR=/tmp/autopkgtest.WXQj7X/autopkgtest_tmp 1491s http_proxy=http://egress.ps7.internal:3128/ 1491s https_proxy=http://egress.ps7.internal:3128/ 1491s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 1492s run-with-locales: de_DE=ISO-8859-1... 1492s Character set: ISO-8859-1 1492s Source file: de_DE 1492s Output: /tmp/tmp.OKNX2sVgi4/de_DE 1492s run-with-locales: de_DE.utf8... 1492s Character set: UTF-8 1492s Source file: de_DE 1492s Output: /tmp/tmp.OKNX2sVgi4/de_DE.utf8 1494s run-with-locales: de_DE@euro.utf8... 1494s Character set: UTF-8 1494s Source file: de_DE@euro 1494s Output: /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8 1496s run-with-locales: el_GR.utf8... 1496s Character set: UTF-8 1496s Source file: el_GR 1496s Output: /tmp/tmp.OKNX2sVgi4/el_GR.utf8 1497s run-with-locales: en_GB=ISO-8859-1... 1497s Character set: ISO-8859-1 1497s Source file: en_GB 1497s Output: /tmp/tmp.OKNX2sVgi4/en_GB 1498s run-with-locales: en_GB.utf8... 1498s Character set: UTF-8 1498s Source file: en_GB 1498s Output: /tmp/tmp.OKNX2sVgi4/en_GB.utf8 1500s run-with-locales: en_US=ISO-8859-1... 1500s Character set: ISO-8859-1 1500s Source file: en_US 1500s Output: /tmp/tmp.OKNX2sVgi4/en_US 1500s run-with-locales: en_US.utf8... 1500s Character set: UTF-8 1500s Source file: en_US 1500s Output: /tmp/tmp.OKNX2sVgi4/en_US.utf8 1502s run-with-locales: es_ES.utf8... 1502s Character set: UTF-8 1502s Source file: es_ES 1502s Output: /tmp/tmp.OKNX2sVgi4/es_ES.utf8 1504s run-with-locales: fa_IR=UTF-8... 1504s Character set: UTF-8 1504s Source file: fa_IR 1504s Output: /tmp/tmp.OKNX2sVgi4/fa_IR 1506s run-with-locales: fa_IR.utf8... 1506s Character set: UTF-8 1506s Source file: fa_IR 1506s Output: /tmp/tmp.OKNX2sVgi4/fa_IR.utf8 1508s run-with-locales: fr_FR.utf8... 1508s Character set: UTF-8 1508s Source file: fr_FR 1508s Output: /tmp/tmp.OKNX2sVgi4/fr_FR.utf8 1509s run-with-locales: hr_HR.utf8... 1509s Character set: UTF-8 1509s Source file: hr_HR 1509s Output: /tmp/tmp.OKNX2sVgi4/hr_HR.utf8 1511s run-with-locales: ja_JP.utf8... 1511s Character set: UTF-8 1511s Source file: ja_JP 1511s Output: /tmp/tmp.OKNX2sVgi4/ja_JP.utf8 1512s run-with-locales: ja_JP.EUC-JP... 1512s Character set: EUC-JP 1512s Source file: ja_JP 1512s Output: /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp 1513s run-with-locales: lt_LT.utf8... 1513s Character set: UTF-8 1513s Source file: lt_LT 1513s Output: /tmp/tmp.OKNX2sVgi4/lt_LT.utf8 1515s run-with-locales: pl_PL=ISO-8859-2... 1515s Character set: ISO-8859-2 1515s Source file: pl_PL 1515s Output: /tmp/tmp.OKNX2sVgi4/pl_PL 1515s run-with-locales: pl_PL.ISO-8859-2... 1515s Character set: ISO-8859-2 1515s Source file: pl_PL 1515s Output: /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592 1515s run-with-locales: pl_PL.utf8... 1515s Character set: UTF-8 1515s Source file: pl_PL 1515s Output: /tmp/tmp.OKNX2sVgi4/pl_PL.utf8 1517s run-with-locales: ru_RU=ISO-8859-5... 1517s Character set: ISO-8859-5 1517s Source file: ru_RU 1517s Output: /tmp/tmp.OKNX2sVgi4/ru_RU 1518s run-with-locales: ru_RU.utf8... 1518s Character set: UTF-8 1518s Source file: ru_RU 1518s Output: /tmp/tmp.OKNX2sVgi4/ru_RU.utf8 1519s run-with-locales: sr_RS=UTF-8... 1519s Character set: UTF-8 1519s Source file: sr_RS 1519s Output: /tmp/tmp.OKNX2sVgi4/sr_RS 1521s run-with-locales: sr_RS@latin=UTF-8... 1521s Character set: UTF-8 1521s Source file: sr_RS@latin 1521s Output: /tmp/tmp.OKNX2sVgi4/sr_RS@latin 1523s run-with-locales: sv_SE=ISO-8859-1... 1523s Character set: ISO-8859-1 1523s Source file: sv_SE 1523s Output: /tmp/tmp.OKNX2sVgi4/sv_SE 1523s run-with-locales: sv_SE.utf8... 1523s Character set: UTF-8 1523s Source file: sv_SE 1523s Output: /tmp/tmp.OKNX2sVgi4/sv_SE.utf8 1525s run-with-locales: tr_TR=ISO-8859-9... 1525s Character set: ISO-8859-9 1525s Source file: tr_TR 1525s Output: /tmp/tmp.OKNX2sVgi4/tr_TR 1525s run-with-locales: tr_TR.utf8... 1525s Character set: UTF-8 1525s Source file: tr_TR 1525s Output: /tmp/tmp.OKNX2sVgi4/tr_TR.utf8 1527s run-with-locales: tt_RU=UTF-8... 1527s Character set: UTF-8 1527s Source file: tt_RU 1527s Output: /tmp/tmp.OKNX2sVgi4/tt_RU 1529s run-with-locales: tt_RU.utf8... 1529s Character set: UTF-8 1529s Source file: tt_RU 1529s Output: /tmp/tmp.OKNX2sVgi4/tt_RU.utf8 1531s run-with-locales: tt_RU@iqtelif=UTF-8... 1531s Character set: UTF-8 1531s Source file: tt_RU@iqtelif 1531s Output: /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif 1533s /tmp/tmp.OKNX2sVgi4 1533s /tmp/tmp.OKNX2sVgi4/en_GB 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ru_RU 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_CTYPE 1533s /tmp/tmp.1..332 1533s # Running test: glib/overflow-fallback.test 1533s ok - glib/overflow-fallback.test 1533s # Running test: glib/io-stream.test 1533s ok - glib/io-stream.test 1533s # Running test: glib/signals-refcount2.test 1533s OKNX2sVgi4/es_ES.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_US 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tr_TR 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sr_RS 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fa_IR 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sv_SE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_CTYPE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_MEASUREMENT 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_ADDRESS 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_PAPER 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_IDENTIFICATION 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_TELEPHONE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_MONETARY 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_NUMERIC 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_COLLATE 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_NAME 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_TIME 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_MESSAGES 1533s /tmp/tmp.OKNX2sVgi4/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1533s TAP version 14 1533s # random seed: R02S33fc7bda1b078a0f8ef2fc83567ae607 1533s 1..6 1533s # Start of glib tests 1533s # Start of checked-math tests 1533s ok 1 /glib/checked-math/guint-add 1533s ok 2 /glib/checked-math/guint-mul 1533s ok 3 /glib/checked-math/guint64-add 1533s ok 4 /glib/checked-math/guint64-mul 1533s ok 5 /glib/checked-math/gsize-add 1533s ok 6 /glib/checked-math/gsize-mul 1533s # End of checked-math tests 1533s # End of glib tests 1533s TAP version 14 1533s # random seed: R02Sf44391d40f7fa55049db23ef541ff1ad 1533s 1..3 1533s # Start of io-stream tests 1533s ok 1 /io-stream/copy-chunks 1533s # Start of close tests 1533s # Start of async tests 1533s ok 2 /io-stream/close/async/memory 1533s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1533s ok 3 /io-stream/close/async/file 1533s # End of async tests 1533s # End of close tests 1533s # End of io-stream tests 1533s TAP version 14 1533s # random seed: R02S83e7766250f6c98cb2f44e2cb82b87b8 1533s 1..1 1533s # Start of gobject tests 1533s # Start of refcount tests 1533s # init 0xaea4e82964b0 1533s # 1533s # init 0xaea4e828e580 1533s # 1538s ok - glib/signals-refcount2.test 1538s # dispose 0xaea4e82964b0! 1538s # 1538s # dispose 0xaea4e828e580! 1538s # 1538s ok 1 /gobject/refcount/signals 1538s # slow test /gobject/refcount/signals executed in 5.00 secs 1538s # End of refcount tests 1538s # End of gobject tests 1538s TAP version 14 1538s # random seed: R02S6cba1a4ed8f5d0e42c15d5976ce212a8 1538s 1..2 1538s # Start of union-info tests 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KOSLJ3/union-info/basic/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /union-info/basic summary: Test basic properties of GIUnionInfo 1538s ok 1 /union-info/basic 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_KOSLJ3/union-info/methods/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1538s ok 2 /union-info/methods 1538s # End of union-info tests 1538s TAP version 14 1538s # random seed: R02Sf6a0d5959a272e5a715018d38220a42b 1538s 1..3 1538s # Start of module tests 1538s ok 1 /module/basics 1538s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1538s ok 2 /module/invalid-libtool-archive 1538s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1538s # Running test: glib/union-info.test 1538s ok - glib/union-info.test 1538s # Running test: glib/module-test-plugin.test 1538s ok - glib/module-test-plugin.test 1538s # Running test: glib/tls-certificate.test 1538s ok - glib/tls-certificate.test 1538s # Running test: glib/macros-c-89.test 1538s ok - glib/macros-c-89.test 1538s # Running test: glib/properties-introspection.test 1538s ok - glib/properties-introspection.test 1538s # Running test: glib/macros-c-11.test 1538s ok - glib/macros-c-11.test 1538s # Running test: glib/resources.test 1538s ok - glib/resources.test 1538s # Running test: glib/gdbus-error.test 1538s ok - glib/gdbus-error.test 1538s # Running test: glib/memchunk.test 1538s ok - glib/memchunk.test 1538s # Running test: glib/field-info.test 1538s ok - glib/field-info.test 1538s # Running test: glib/autoptr-gio.test 1538s ok - glib/autoptr-gio.test 1538s # Running test: glib/basics-gobject.test 1538s ok - glib/basics-gobject.test 1538s # Running test: glib/actions.test 1538s ok 3 /module/local-binding 1538s # End of module tests 1538s TAP version 14 1538s # random seed: R02S6a43561df1b70f79e31bf04197b45e06 1538s 1..19 1538s # Start of tls-certificate tests 1538s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1538s ok 1 /tls-certificate/pem-parser 1538s ok 2 /tls-certificate/pem-parser-handles-chain 1538s ok 3 /tls-certificate/from_file 1538s ok 4 /tls-certificate/from_files 1538s ok 5 /tls-certificate/from_files_crlf 1538s ok 6 /tls-certificate/from_files_pkcs8 1538s ok 7 /tls-certificate/from_files_pkcs8enc 1538s ok 8 /tls-certificate/list_from_file 1538s ok 9 /tls-certificate/pkcs11-uri 1538s ok 10 /tls-certificate/pkcs11-uri-unsupported 1538s ok 11 /tls-certificate/from_pkcs12 1538s ok 12 /tls-certificate/from_pkcs12_file 1538s ok 13 /tls-certificate/not-valid-before 1538s ok 14 /tls-certificate/not-valid-after 1538s ok 15 /tls-certificate/subject-name 1538s ok 16 /tls-certificate/issuer-name 1538s ok 17 /tls-certificate/dns-names 1538s ok 18 /tls-certificate/ip-addresses 1538s ok 19 /tls-certificate/pem-parser-no-sentinel 1538s # End of tls-certificate tests 1538s TAP version 14 1538s # random seed: R02Se0e6f918d38d79cd2dbad5a18ca29976 1538s 1..4 1538s # Start of C tests 1538s ok 1 /C/standard-89 1538s # End of C tests 1538s # Start of alignof tests 1538s ok 2 /alignof/fallback 1538s # End of alignof tests 1538s # Start of assert tests 1538s ok 3 /assert/static 1538s # End of assert tests 1538s # Start of struct tests 1538s ok 4 /struct/sizeof_member 1538s # End of struct tests 1538s TAP version 14 1538s # random seed: R02S69c21624377ee849093ae1d036cb0baa 1538s 1..2 1538s # Start of properties tests 1538s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1538s ok 1 /properties/introspection 1538s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1538s ok 2 /properties/collision 1538s # End of properties tests 1538s TAP version 14 1538s # random seed: R02S5def59047b76cbedcbdc6dee6f735516 1538s 1..4 1538s # Start of C tests 1538s ok 1 /C/standard-11 1538s # End of C tests 1538s # Start of alignof tests 1538s ok 2 /alignof/fallback 1538s # End of alignof tests 1538s # Start of assert tests 1538s ok 3 /assert/static 1538s # End of assert tests 1538s # Start of struct tests 1538s ok 4 /struct/sizeof_member 1538s # End of struct tests 1538s TAP version 14 1538s # random seed: R02S2df7f3d0a42b0486746404d600c89a54 1538s 1..19 1538s # Start of resource tests 1538s ok 1 /resource/file 1538s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1538s ok 2 /resource/file-path 1538s ok 3 /resource/data 1538s ok 4 /resource/data_unaligned 1538s ok 5 /resource/data-corrupt 1538s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1538s ok 6 /resource/data-corrupt-compression 1538s ok 7 /resource/data-empty 1538s ok 8 /resource/registered 1538s ok 9 /resource/manual 1538s ok 10 /resource/manual2 1538s ok 11 /resource/automatic 1538s ok 12 /resource/module 1538s ok 13 /resource/binary-linked 1538s ok 14 /resource/64k 1538s GLib-GIO-Message: 13:38:56.566: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1538s GLib-GIO-Message: 13:38:56.567: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1538s GLib-GIO-Message: 13:38:56.567: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1538s ok 15 /resource/overlay 1538s ok 16 /resource/digits 1538s ok 17 /resource/has-children 1538s # Start of uri tests 1538s ok 18 /resource/uri/query-info 1538s ok 19 /resource/uri/file 1538s # End of uri tests 1538s # End of resource tests 1538s TAP version 14 1538s # random seed: R02Sf83c46bb45fc6b9f4bc61259d55423c0 1538s 1..4 1538s # Start of gdbus tests 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ2LJ3/gdbus/registered-errors/.dirs/runtime 1538s ok 1 /gdbus/registered-errors 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ2LJ3/gdbus/unregistered-errors/.dirs/runtime 1538s ok 2 /gdbus/unregistered-errors 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ2LJ3/gdbus/transparent-gerror/.dirs/runtime 1538s ok 3 /gdbus/transparent-gerror 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ2LJ3/gdbus/register-error/.dirs/runtime 1538s ok 4 /gdbus/register-error 1538s # End of gdbus tests 1538s TAP version 14 1538s # random seed: R02S0cb63b31e99e4d8b0956aa7e77ddbdc3 1538s 1..1 1538s # Start of memchunk tests 1538s ok 1 /memchunk/basic 1538s # End of memchunk tests 1538s TAP version 14 1538s # random seed: R02S20f653bb5b801ea7306364c03ec38533 1538s 1..4 1538s # Start of field-info tests 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_GIZLJ3/field-info/basic-struct-field/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1538s ok 1 /field-info/basic-struct-field 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_GIZLJ3/field-info/basic-union-field/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1538s ok 2 /field-info/basic-union-field 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_GIZLJ3/field-info/read-write-struct-field/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1538s ok 3 /field-info/read-write-struct-field 1538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/home 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/cache 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/system-config2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/config 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/system-data2 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/data 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/state 1538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_GIZLJ3/field-info/read-write-union-field/.dirs/runtime 1538s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1538s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1538s ok 4 /field-info/read-write-union-field 1538s # End of field-info tests 1538s TAP version 14 1538s # random seed: R02S3422b9f7db0be8c55435191d0294010d 1538s 1..1 1538s # Start of autoptr tests 1538s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1538s ok 1 /autoptr/autoptr 1538s # End of autoptr tests 1538s TAP version 14 1538s # random seed: R02Sa04606d67cd8eb987123ea2b69af5b8b 1538s 1..1 1538s # Start of gobject tests 1538s # private data during initialization: 54321 == 54321 1538s # MAIN: emit test-signal: 1538s # ::test_signal default_handler called 1538s # ::test_signal default_handler called 1538s # ::test_signal default_handler called 1538s # signal return: "" 1538s # MAIN: call iface print-string on test and derived object: 1538s # Iface-FOO: "iface-string-from-test-type" from 0xbc63af955880 1538s # Iface-BAR: "iface-string-from-derived-type" from 0xbc63af955730 1538s # chaining: 1538s # Iface-FOO: "iface-string-from-derived-type" from 0xbc63af955730 1538s # private data after initialization: 54321 == 54321 1538s ok 1 /gobject/basics 1538s # End of gobject tests 1538s TAP version 14 1538s # random seed: R02S5072b096a9f2b5ed97fd96d219dbe409 1538s 1..13 1538s # Start of actions tests 1538s ok 1 /actions/basic 1538s ok 2 /actions/name 1538s ok 3 /actions/simplegroup 1538s ok 4 /actions/stateful 1538s ok 5 /actions/default-activate 1538s ok 6 /actions/entries 1538s ok 7 /actions/parse-detailed 1538s ok 8 /actions/property 1538s ok 9 /actions/no-properties 1538s # Start of dbus tests 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s ok 10 /actions/dbus/export 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1538s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1538s # Executing: glib/actions.test 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s ok 11 /actions/dbus/threaded 1539s # slow test /actions/dbus/threaded executed in 1.11 secs 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s ok 12 /actions/dbus/bug679509 1539s # Start of export tests 1539s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1539s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1539s ok 13 /actions/dbus/export/error-handling 1539s # End of export tests 1539s # End of dbus tests 1539s # End of actions tests 1539s ok - glib/actions.test 1539s # Running test: glib/gdbus-connection-flush.test 1539s TAP version 14 1539s # random seed: R02Sc49af7f3f46e7707718fafbd236b305c 1539s 1..2 1539s # Start of gdbus tests 1539s # Start of connection tests 1539s # Start of flush tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/busy/.dirs/runtime 1539s ok 1 /gdbus/connection/flush/busy 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_XJRRJ3/gdbus/connection/flush/idle/.dirs/runtime 1539s ok - glib/gdbus-connection-flush.test 1539s # Running test: glib/pattern.test 1539s ok 2 /gdbus/connection/flush/idle 1539s # End of flush tests 1539s # End of connection tests 1539s # End of gdbus tests 1539s TAP version 14 1539s # random seed: R02S12ad772c864fc208e2dd7aed9f43300f 1539s 1..90 1539s # Start of pattern tests 1539s # Start of compile tests 1539s ok 1 /pattern/compile/0 1539s ok 2 /pattern/compile/1 1539s ok 3 /pattern/compile/2 1539s ok 4 /pattern/compile/3 1539s ok 5 /pattern/compile/4 1539s ok 6 /pattern/compile/5 1539s ok 7 /pattern/compile/6 1539s ok 8 /pattern/compile/7 1539s ok 9 /pattern/compile/8 1539s ok 10 /pattern/compile/9 1539s ok 11 /pattern/compile/10 1539s ok 12 /pattern/compile/11 1539s ok 13 /pattern/compile/12 1539s ok 14 /pattern/compile/13 1539s # End of compile tests 1539s # Start of copy tests 1539s ok 15 /pattern/copy/0 1539s ok 16 /pattern/copy/1 1539s ok 17 /pattern/copy/2 1539s ok 18 /pattern/copy/3 1539s ok 19 /pattern/copy/4 1539s ok 20 /pattern/copy/5 1539s ok 21 /pattern/copy/6 1539s ok 22 /pattern/copy/7 1539s ok 23 /pattern/copy/8 1539s ok 24 /pattern/copy/9 1539s ok 25 /pattern/copy/10 1539s ok 26 /pattern/copy/11 1539s ok 27 /pattern/copy/12 1539s ok 28 /pattern/copy/13 1539s # End of copy tests 1539s # Start of match tests 1539s ok 29 /pattern/match/0 1539s ok 30 /pattern/match/1 1539s ok 31 /pattern/match/2 1539s ok 32 /pattern/match/3 1539s ok 33 /pattern/match/4 1539s ok 34 /pattern/match/5 1539s ok 35 /pattern/match/6 1539s ok 36 /pattern/match/7 1539s ok 37 /pattern/match/8 1539s ok 38 /pattern/match/9 1539s ok 39 /pattern/match/10 1539s ok 40 /pattern/match/11 1539s ok 41 /pattern/match/12 1539s ok 42 /pattern/match/13 1539s ok 43 /pattern/match/14 1539s ok 44 /pattern/match/15 1539s ok 45 /pattern/match/16 1539s ok 46 /pattern/match/17 1539s ok 47 /pattern/match/18 1539s ok 48 /pattern/match/19 1539s ok 49 /pattern/match/20 1539s ok 50 /pattern/match/21 1539s ok 51 /pattern/match/22 1539s ok 52 /pattern/match/23 1539s ok 53 /pattern/match/24 1539s ok 54 /pattern/match/25 1539s ok 55 /pattern/match/26 1539s ok 56 /pattern/match/27 1539s ok 57 /pattern/match/28 1539s ok 58 /pattern/match/29 1539s ok 59 /pattern/match/30 1539s ok 60 /pattern/match/31 1539s ok 61 /pattern/match/32 1539s ok 62 /pattern/match/33 1539s ok 63 /pattern/match/34 1539s ok 64 /pattern/match/35 1539s ok 65 /pattern/match/36 1539s ok 66 /pattern/match/37 1539s ok 67 /pattern/match/38 1539s ok 68 /pattern/match/39 1539s ok 69 /pattern/match/40 1539s ok 70 /pattern/match/41 1539s ok 71 /pattern/match/42 1539s ok 72 /pattern/match/43 1539s ok 73 /pattern/match/44 1539s ok 74 /pattern/match/45 1539s ok 75 /pattern/match/46 1539s ok 76 /pattern/match/47 1539s ok 77 /pattern/match/48 1539s ok 78 /pattern/match/49 1539s ok 79 /pattern/match/50 1539s # End of match tests 1539s # Start of equal tests 1539s ok 80 /pattern/equal/0 1539s ok 81 /pattern/equal/1 1539s ok 82 /pattern/equal/2 1539s ok 83 /pattern/equal/3 1539s ok 84 /pattern/equal/4 1539s ok 85 /pattern/equal/5 1539s ok 86 /pattern/equal/6 1539s ok 87 /pattern/equal/7 1539s ok 88 /pattern/equal/8 1539s ok 89 /pattern/equal/9 1539s ok 90 /pattern/equal/10 1539s # End of equal tests 1539s # End of pattern tests 1539s ok - glib/pattern.test 1539s # Running test: glib/callable-info.test 1539s TAP version 14 1539s # random seed: R02S57870743d42ae72735b82bfd100bc990 1539s 1..6 1539s # Start of callable-info tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/sync-function/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s ok 1 /callable-info/sync-function 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/async-function/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s ok 2 /callable-info/async-function 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/is-method/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s ok 3 /callable-info/is-method 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/static-method/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s ok 4 /callable-info/static-method 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/static-vfunc/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1539s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1539s # Start of platform tests 1539s # Start of unix tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_XGUPJ3/callable-info/platform/unix/is-method/.dirs/runtime 1539s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1539s # Checking DesktopAppInfo in Gio 1539s # Checking DesktopAppInfo in GioUnix 1539s ok - glib/callable-info.test 1539s # Running test: glib/portal-support-snap-classic.test 1539s ok 6 /callable-info/platform/unix/is-method 1539s # End of unix tests 1539s # End of platform tests 1539s # End of callable-info tests 1539s TAP version 14 1539s # random seed: R02S60d57fc5804d8ef91415c643bd20fdd4 1539s 1..3 1539s # Start of portal-support tests 1539s # Start of snap-classic tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1539s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/no-snapctl: No such file or directory 1539s ok 1 /portal-support/snap-classic/no-snapctl 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/runtime 1539s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3HQPJ3/meta/snap.yaml 1539s # Created snapctl in /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1539s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/none: No such file or directory 1539s ok 2 /portal-support/snap-classic/none 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/system-config2 1539s ok - glib/portal-support-snap-classic.test 1539s # Running test: glib/closure-refcount.test 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/runtime 1539s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3HQPJ3/meta/snap.yaml 1539s # Created snapctl in /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1539s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3HQPJ3/portal-support/snap-classic/all: No such file or directory 1539s ok 3 /portal-support/snap-classic/all 1539s # End of snap-classic tests 1539s # End of portal-support tests 1539s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3HQPJ3: No such file or directory 1539s TAP version 14 1539s # random seed: R02Sc853fec1bbd8567fb7f7639c00dfc870 1539s 1..1 1539s # Start of closure tests 1539s # Init 0xab21e9044dc0 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Yielding from thread1 1539s # Yielding from main thread 1539s # Yielding from thread2 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Yielding from main thread 1539s # Stopping 1539s # Stopped 1539s ok 1 /closure/refcount 1539s # End of closure tests 1539s ok - glib/closure-refcount.test 1539s # Running test: glib/642026.test 1539s TAP version 14 1539s # random seed: R02S7e07c1237a6231ff00763886534a2670 1539s 1..1 1539s # Start of glib tests 1539s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1539s ok 1 /glib/642026 1539s # End of glib tests 1539s ok - glib/642026.test 1539s # Running test: glib/regex.test 1539s TAP version 14 1539s # random seed: R02Sed2a68e56f323ab2b3fb4cfb123c98cb 1539s 1..849 1539s # Start of regex tests 1539s ok 1 /regex/properties 1539s ok 2 /regex/class 1539s ok 3 /regex/lookahead 1539s ok 4 /regex/lookbehind 1539s ok 5 /regex/subpattern 1539s ok 6 /regex/condition 1539s ok 7 /regex/recursion 1539s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1539s ok 8 /regex/multiline 1539s ok 9 /regex/explicit-crlf 1539s ok 10 /regex/max-lookbehind 1539s ok 11 /regex/compile-errors 1539s ok 12 /regex/jit-unsupported-matching 1539s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1539s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1539s ok 13 /regex/unmatched-named-subpattern 1539s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1539s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1539s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1539s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1539s ok 14 /regex/compiled-regex-after-jit-failure 1539s # Start of new tests 1539s ok 15 /regex/new/1 1539s ok 16 /regex/new/2 1539s ok 17 /regex/new/3 1539s ok 18 /regex/new/4 1539s ok 19 /regex/new/5 1539s ok 20 /regex/new/6 1539s ok 21 /regex/new/7 1539s ok 22 /regex/new/8 1539s ok 23 /regex/new/9 1539s ok 24 /regex/new/10 1539s ok 25 /regex/new/11 1539s ok 26 /regex/new/12 1539s ok 27 /regex/new/13 1539s ok 28 /regex/new/14 1539s ok 29 /regex/new/15 1539s ok 30 /regex/new/16 1539s ok 31 /regex/new/17 1539s ok 32 /regex/new/18 1539s ok 33 /regex/new/19 1539s ok 34 /regex/new/71 1539s ok 35 /regex/new/81 1539s ok 36 /regex/new/83 1539s # End of new tests 1539s # Start of new-check-flags tests 1539s ok 37 /regex/new-check-flags/20 1539s ok 38 /regex/new-check-flags/21 1539s ok 39 /regex/new-check-flags/22 1539s ok 40 /regex/new-check-flags/23 1539s ok 41 /regex/new-check-flags/24 1539s ok 42 /regex/new-check-flags/25 1539s ok 43 /regex/new-check-flags/26 1539s ok 44 /regex/new-check-flags/27 1539s ok 45 /regex/new-check-flags/28 1539s ok 46 /regex/new-check-flags/29 1539s ok 47 /regex/new-check-flags/30 1539s ok 48 /regex/new-check-flags/31 1539s ok 49 /regex/new-check-flags/32 1539s ok 50 /regex/new-check-flags/33 1539s ok 51 /regex/new-check-flags/34 1539s ok 52 /regex/new-check-flags/35 1539s ok 53 /regex/new-check-flags/36 1539s # End of new-check-flags tests 1539s # Start of new-fail tests 1539s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 1539s ok 54 /regex/new-fail/37 1539s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 1539s ok 55 /regex/new-fail/38 1539s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 1539s ok 56 /regex/new-fail/39 1539s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 1539s ok 57 /regex/new-fail/40 1539s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 1539s ok 58 /regex/new-fail/41 1539s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1539s ok 59 /regex/new-fail/42 1539s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1539s ok 60 /regex/new-fail/43 1539s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1539s ok 61 /regex/new-fail/44 1539s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1539s ok 62 /regex/new-fail/45 1539s # 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 1539s ok 63 /regex/new-fail/46 1539s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1539s ok 64 /regex/new-fail/47 1539s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1539s ok 65 /regex/new-fail/48 1539s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1539s ok 66 /regex/new-fail/49 1539s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1539s ok 67 /regex/new-fail/50 1539s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1539s ok 68 /regex/new-fail/51 1539s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1539s ok 69 /regex/new-fail/52 1539s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1539s ok 70 /regex/new-fail/53 1539s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1539s ok 71 /regex/new-fail/54 1539s # 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 1539s ok 72 /regex/new-fail/55 1539s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1539s ok 73 /regex/new-fail/56 1539s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1539s ok 74 /regex/new-fail/57 1539s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1539s ok 75 /regex/new-fail/58 1539s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1539s ok 76 /regex/new-fail/59 1539s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1539s ok 77 /regex/new-fail/60 1539s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1539s ok 78 /regex/new-fail/61 1539s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1539s ok 79 /regex/new-fail/62 1539s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1539s ok 80 /regex/new-fail/63 1539s # 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 1539s ok 81 /regex/new-fail/64 1539s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1539s ok 82 /regex/new-fail/65 1539s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1539s ok 83 /regex/new-fail/66 1539s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1539s ok 84 /regex/new-fail/67 1539s # 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 1539s ok 85 /regex/new-fail/68 1539s # 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 1539s ok 86 /regex/new-fail/69 1539s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1539s ok 87 /regex/new-fail/70 1539s # 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 1539s ok 90 /regex/new-fail/74 1539s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1539s ok 91 /regex/new-fail/75 1539s # 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 1539s ok 92 /regex/new-fail/76 1539s # Compiling pattern /a/ failed with error: Invalid newline flags 1539s ok 93 /regex/new-fail/77 1539s # 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 1539s ok 94 /regex/new-fail/78 1539s # 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 1539s ok 95 /regex/new-fail/79 1539s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1539s ok 96 /regex/new-fail/80 1539s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1539s ok 97 /regex/new-fail/82 1539s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1539s ok 98 /regex/new-fail/84 1539s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1539s ok 99 /regex/new-fail/85 1539s # 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 1539s ok 100 /regex/new-fail/86 1539s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1539s ok 101 /regex/new-fail/87 1539s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1539s ok 102 /regex/new-fail/88 1539s # 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 1539s ok 103 /regex/new-fail/89 1539s # 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 1539s ok 104 /regex/new-fail/90 1539s # 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) 1539s ok 105 /regex/new-fail/91 1539s # 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 1539s ok 106 /regex/new-fail/92 1539s # End of new-fail tests 1539s # Start of match-simple tests 1539s ok 107 /regex/match-simple/93 1539s ok 108 /regex/match-simple/94 1539s ok 109 /regex/match-simple/95 1539s ok 110 /regex/match-simple/96 1539s ok 111 /regex/match-simple/97 1539s ok 112 /regex/match-simple/98 1539s ok 113 /regex/match-simple/99 1539s ok 114 /regex/match-simple/100 1539s ok 115 /regex/match-simple/101 1539s ok 116 /regex/match-simple/102 1539s ok 117 /regex/match-simple/103 1539s ok 118 /regex/match-simple/104 1539s ok 119 /regex/match-simple/105 1539s ok 120 /regex/match-simple/106 1539s ok 121 /regex/match-simple/107 1539s ok 122 /regex/match-simple/108 1539s ok 123 /regex/match-simple/109 1539s ok 124 /regex/match-simple/110 1539s ok 125 /regex/match-simple/111 1539s ok 126 /regex/match-simple/112 1539s ok 127 /regex/match-simple/113 1539s ok 128 /regex/match-simple/114 1539s ok 129 /regex/match-simple/115 1539s ok 130 /regex/match-simple/116 1539s ok 131 /regex/match-simple/117 1539s ok 132 /regex/match-simple/118 1539s ok 133 /regex/match-simple/119 1539s ok 134 /regex/match-simple/120 1539s ok 135 /regex/match-simple/121 1539s ok 136 /regex/match-simple/122 1539s ok 137 /regex/match-simple/123 1539s ok 138 /regex/match-simple/124 1539s ok 139 /regex/match-simple/125 1539s ok 140 /regex/match-simple/126 1539s ok 141 /regex/match-simple/127 1539s ok 142 /regex/match-simple/128 1539s ok 143 /regex/match-simple/129 1539s ok 144 /regex/match-simple/130 1539s ok 145 /regex/match-simple/131 1539s ok 146 /regex/match-simple/132 1539s ok 147 /regex/match-simple/133 1539s ok 148 /regex/match-simple/134 1539s ok 149 /regex/match-simple/135 1539s ok 150 /regex/match-simple/136 1539s ok 151 /regex/match-simple/137 1539s ok 152 /regex/match-simple/138 1539s ok 153 /regex/match-simple/139 1539s ok 154 /regex/match-simple/140 1539s ok 155 /regex/match-simple/141 1539s ok 156 /regex/match-simple/142 1539s ok 157 /regex/match-simple/143 1539s ok 158 /regex/match-simple/144 1539s ok 159 /regex/match-simple/145 1539s ok 160 /regex/match-simple/146 1539s ok 161 /regex/match-simple/147 1539s ok 162 /regex/match-simple/148 1539s ok 163 /regex/match-simple/149 1539s ok 164 /regex/match-simple/150 1539s ok 165 /regex/match-simple/151 1539s ok 166 /regex/match-simple/152 1539s ok 167 /regex/match-simple/153 1539s ok 168 /regex/match-simple/154 1539s ok 169 /regex/match-simple/155 1539s ok 170 /regex/match-simple/156 1539s ok 171 /regex/match-simple/157 1539s ok 172 /regex/match-simple/158 1539s ok 173 /regex/match-simple/159 1539s ok 174 /regex/match-simple/160 1539s ok 175 /regex/match-simple/161 1539s ok 176 /regex/match-simple/162 1539s ok 177 /regex/match-simple/163 1539s ok 178 /regex/match-simple/164 1539s ok 179 /regex/match-simple/165 1539s # End of match-simple tests 1539s # Start of match-simple-optimized tests 1539s ok 180 /regex/match-simple-optimized/93 1539s ok 181 /regex/match-simple-optimized/94 1539s ok 182 /regex/match-simple-optimized/95 1539s ok 183 /regex/match-simple-optimized/96 1539s ok 184 /regex/match-simple-optimized/97 1539s ok 185 /regex/match-simple-optimized/98 1539s ok 186 /regex/match-simple-optimized/99 1539s ok 187 /regex/match-simple-optimized/100 1539s ok 188 /regex/match-simple-optimized/101 1539s ok 189 /regex/match-simple-optimized/102 1539s ok 190 /regex/match-simple-optimized/103 1539s ok 191 /regex/match-simple-optimized/104 1539s ok 192 /regex/match-simple-optimized/105 1539s ok 193 /regex/match-simple-optimized/106 1539s ok 194 /regex/match-simple-optimized/107 1539s ok 195 /regex/match-simple-optimized/108 1539s ok 196 /regex/match-simple-optimized/109 1539s ok 197 /regex/match-simple-optimized/110 1539s ok 198 /regex/match-simple-optimized/111 1539s ok 199 /regex/match-simple-optimized/112 1539s ok 200 /regex/match-simple-optimized/113 1539s ok 201 /regex/match-simple-optimized/114 1539s ok 202 /regex/match-simple-optimized/115 1539s ok 203 /regex/match-simple-optimized/116 1539s ok 204 /regex/match-simple-optimized/117 1539s ok 205 /regex/match-simple-optimized/118 1539s ok 206 /regex/match-simple-optimized/119 1539s ok 207 /regex/match-simple-optimized/120 1539s ok 208 /regex/match-simple-optimized/121 1539s ok 209 /regex/match-simple-optimized/122 1539s ok 210 /regex/match-simple-optimized/123 1539s ok 211 /regex/match-simple-optimized/124 1539s ok 212 /regex/match-simple-optimized/125 1539s ok 213 /regex/match-simple-optimized/126 1539s ok 214 /regex/match-simple-optimized/127 1539s ok 215 /regex/match-simple-optimized/128 1539s ok 216 /regex/match-simple-optimized/129 1539s ok 217 /regex/match-simple-optimized/130 1539s ok 218 /regex/match-simple-optimized/131 1539s ok 219 /regex/match-simple-optimized/132 1539s ok 220 /regex/match-simple-optimized/133 1539s ok 221 /regex/match-simple-optimized/134 1539s ok 222 /regex/match-simple-optimized/135 1539s ok 223 /regex/match-simple-optimized/136 1539s ok 224 /regex/match-simple-optimized/137 1539s ok 225 /regex/match-simple-optimized/138 1539s ok 226 /regex/match-simple-optimized/139 1539s ok 227 /regex/match-simple-optimized/140 1539s ok 228 /regex/match-simple-optimized/141 1539s ok 229 /regex/match-simple-optimized/142 1539s ok 230 /regex/match-simple-optimized/143 1539s ok 231 /regex/match-simple-optimized/144 1539s ok 232 /regex/match-simple-optimized/145 1539s ok 233 /regex/match-simple-optimized/146 1539s ok 234 /regex/match-simple-optimized/147 1539s ok 235 /regex/match-simple-optimized/148 1539s ok 236 /regex/match-simple-optimized/149 1539s ok 237 /regex/match-simple-optimized/150 1539s ok 238 /regex/match-simple-optimized/151 1539s ok 239 /regex/match-simple-optimized/152 1539s ok 240 /regex/match-simple-optimized/153 1539s ok 241 /regex/match-simple-optimized/154 1539s ok 242 /regex/match-simple-optimized/155 1539s ok 243 /regex/match-simple-optimized/156 1539s ok 244 /regex/match-simple-optimized/157 1539s ok 245 /regex/match-simple-optimized/158 1539s ok 246 /regex/match-simple-optimized/159 1539s ok 247 /regex/match-simple-optimized/160 1539s ok 248 /regex/match-simple-optimized/161 1539s ok 249 /regex/match-simple-optimized/162 1539s ok 250 /regex/match-simple-optimized/163 1539s ok 251 /regex/match-simple-optimized/164 1539s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1539s ok 252 /regex/match-simple-optimized/165 1539s # End of match-simple-optimized tests 1539s # Start of match tests 1539s ok 253 /regex/match/166 1539s ok 254 /regex/match/167 1539s ok 255 /regex/match/168 1539s ok 256 /regex/match/169 1539s ok 257 /regex/match/170 1539s ok 258 /regex/match/171 1539s ok 259 /regex/match/172 1539s ok 260 /regex/match/173 1539s ok 261 /regex/match/174 1539s ok 262 /regex/match/175 1539s ok 263 /regex/match/176 1539s ok 264 /regex/match/177 1539s ok 265 /regex/match/178 1539s ok 266 /regex/match/179 1539s ok 267 /regex/match/180 1539s ok 268 /regex/match/181 1539s ok 269 /regex/match/182 1539s ok 270 /regex/match/183 1539s ok 271 /regex/match/184 1539s ok 272 /regex/match/185 1539s ok 273 /regex/match/186 1539s ok 274 /regex/match/187 1539s ok 275 /regex/match/188 1539s ok 276 /regex/match/189 1539s ok 277 /regex/match/190 1539s ok 278 /regex/match/191 1539s ok 279 /regex/match/192 1539s ok 280 /regex/match/193 1539s ok 281 /regex/match/194 1539s ok 282 /regex/match/195 1539s ok 283 /regex/match/196 1539s ok 284 /regex/match/197 1539s ok 285 /regex/match/198 1539s ok 286 /regex/match/199 1539s ok 287 /regex/match/200 1539s ok 288 /regex/match/201 1539s ok 289 /regex/match/202 1539s ok 290 /regex/match/203 1539s ok 291 /regex/match/204 1539s ok 292 /regex/match/205 1539s ok 293 /regex/match/206 1539s ok 294 /regex/match/207 1539s ok 295 /regex/match/208 1539s ok 296 /regex/match/209 1539s ok 297 /regex/match/210 1539s ok 298 /regex/match/211 1539s ok 299 /regex/match/212 1539s ok 300 /regex/match/213 1539s ok 301 /regex/match/214 1539s ok 302 /regex/match/215 1539s ok 303 /regex/match/216 1539s ok 304 /regex/match/217 1539s ok 305 /regex/match/218 1539s ok 306 /regex/match/219 1539s ok 307 /regex/match/220 1539s ok 308 /regex/match/221 1539s ok 309 /regex/match/222 1539s ok 310 /regex/match/223 1539s ok 311 /regex/match/224 1539s ok 312 /regex/match/225 1539s ok 313 /regex/match/226 1539s ok 314 /regex/match/227 1539s ok 315 /regex/match/228 1539s ok 316 /regex/match/229 1539s ok 317 /regex/match/230 1539s ok 318 /regex/match/231 1539s ok 319 /regex/match/232 1539s ok 320 /regex/match/233 1539s ok 321 /regex/match/234 1539s ok 322 /regex/match/235 1539s ok 323 /regex/match/236 1539s ok 324 /regex/match/237 1539s ok 325 /regex/match/238 1539s ok 326 /regex/match/239 1539s ok 327 /regex/match/240 1539s ok 328 /regex/match/241 1539s ok 329 /regex/match/242 1539s ok 330 /regex/match/243 1539s ok 331 /regex/match/244 1539s ok 332 /regex/match/245 1539s ok 333 /regex/match/246 1539s ok 334 /regex/match/247 1539s ok 335 /regex/match/partial282 1539s ok 336 /regex/match/partial283 1539s ok 337 /regex/match/partial284 1539s ok 338 /regex/match/partial285 1539s ok 339 /regex/match/partial286 1539s ok 340 /regex/match/partial287 1539s ok 341 /regex/match/partial288 1539s ok 342 /regex/match/partial289 1539s ok 343 /regex/match/partial290 1539s ok 344 /regex/match/partial291 1539s ok 345 /regex/match/partial292 1539s ok 346 /regex/match/partial293 1539s ok 347 /regex/match/partial294 1539s ok 348 /regex/match/partial295 1539s ok 349 /regex/match/partial296 1539s ok 350 /regex/match/partial297 1539s ok 351 /regex/match/partial298 1539s ok 352 /regex/match/partial299 1539s ok 353 /regex/match/partial300 1539s ok 354 /regex/match/partial301 1539s ok 355 /regex/match/partial302 1539s ok 356 /regex/match/partial303 1539s # Start of next0 tests 1539s ok 357 /regex/match/next0/248 1539s ok 358 /regex/match/next0/249 1539s ok 359 /regex/match/next0/250 1539s ok 360 /regex/match/next0/251 1539s # End of next0 tests 1539s # Start of next1 tests 1539s ok 361 /regex/match/next1/252 1539s ok 362 /regex/match/next1/253 1539s ok 363 /regex/match/next1/254 1539s ok 364 /regex/match/next1/255 1539s ok 365 /regex/match/next1/256 1539s # End of next1 tests 1539s # Start of next2 tests 1539s ok 366 /regex/match/next2/257 1539s ok 367 /regex/match/next2/258 1539s ok 368 /regex/match/next2/259 1539s ok 369 /regex/match/next2/260 1539s ok 370 /regex/match/next2/261 1539s ok 371 /regex/match/next2/262 1539s ok 372 /regex/match/next2/263 1539s ok 373 /regex/match/next2/264 1539s # End of next2 tests 1539s # Start of next3 tests 1539s ok 374 /regex/match/next3/265 1539s ok 375 /regex/match/next3/266 1539s ok 376 /regex/match/next3/267 1539s ok 377 /regex/match/next3/268 1539s ok 378 /regex/match/next3/269 1539s ok 379 /regex/match/next3/270 1539s # End of next3 tests 1539s # Start of next4 tests 1539s ok 380 /regex/match/next4/271 1539s # End of next4 tests 1539s # Start of count tests 1539s ok 381 /regex/match/count/272 1539s ok 382 /regex/match/count/273 1539s ok 383 /regex/match/count/274 1539s ok 384 /regex/match/count/275 1539s ok 385 /regex/match/count/276 1539s ok 386 /regex/match/count/277 1539s ok 387 /regex/match/count/278 1539s ok 388 /regex/match/count/279 1539s ok 389 /regex/match/count/280 1539s ok 390 /regex/match/count/281 1539s # End of count tests 1539s # Start of count-optimized tests 1539s ok 391 /regex/match/count-optimized/272 1539s ok 392 /regex/match/count-optimized/273 1539s ok 393 /regex/match/count-optimized/274 1539s ok 394 /regex/match/count-optimized/275 1539s ok 395 /regex/match/count-optimized/276 1539s ok 396 /regex/match/count-optimized/277 1539s ok 397 /regex/match/count-optimized/278 1539s ok 398 /regex/match/count-optimized/279 1539s ok 399 /regex/match/count-optimized/280 1539s ok 400 /regex/match/count-optimized/281 1539s # End of count-optimized tests 1539s # Start of partial-optimized tests 1539s ok 401 /regex/match/partial-optimized/282 1539s ok 402 /regex/match/partial-optimized/283 1539s ok 403 /regex/match/partial-optimized/284 1539s ok 404 /regex/match/partial-optimized/285 1539s ok 405 /regex/match/partial-optimized/286 1539s ok 406 /regex/match/partial-optimized/287 1539s ok 407 /regex/match/partial-optimized/288 1539s ok 408 /regex/match/partial-optimized/289 1539s ok 409 /regex/match/partial-optimized/290 1539s ok 410 /regex/match/partial-optimized/291 1539s ok 411 /regex/match/partial-optimized/292 1539s ok 412 /regex/match/partial-optimized/293 1539s ok 413 /regex/match/partial-optimized/294 1539s ok 414 /regex/match/partial-optimized/295 1539s ok 415 /regex/match/partial-optimized/296 1539s ok 416 /regex/match/partial-optimized/297 1539s ok 417 /regex/match/partial-optimized/298 1539s ok 418 /regex/match/partial-optimized/299 1539s ok 419 /regex/match/partial-optimized/300 1539s ok 420 /regex/match/partial-optimized/301 1539s ok 421 /regex/match/partial-optimized/302 1539s ok 422 /regex/match/partial-optimized/303 1539s # End of partial-optimized tests 1539s # Start of subpattern tests 1539s ok 423 /regex/match/subpattern/304 1539s ok 424 /regex/match/subpattern/305 1539s ok 425 /regex/match/subpattern/306 1539s ok 426 /regex/match/subpattern/307 1539s ok 427 /regex/match/subpattern/308 1539s ok 428 /regex/match/subpattern/309 1539s ok 429 /regex/match/subpattern/310 1539s ok 430 /regex/match/subpattern/311 1539s ok 431 /regex/match/subpattern/312 1539s ok 432 /regex/match/subpattern/313 1539s ok 433 /regex/match/subpattern/314 1539s ok 434 /regex/match/subpattern/315 1539s ok 435 /regex/match/subpattern/316 1539s # Start of named tests 1539s # Start of dupnames tests 1539s ok 436 /regex/match/subpattern/named/dupnames/326 1539s ok 437 /regex/match/subpattern/named/dupnames/327 1539s ok 438 /regex/match/subpattern/named/dupnames/328 1539s ok 439 /regex/match/subpattern/named/dupnames/329 1539s ok 440 /regex/match/subpattern/named/dupnames/330 1539s # End of dupnames tests 1539s # End of named tests 1539s # End of subpattern tests 1539s # Start of subpattern-optimized tests 1539s ok 441 /regex/match/subpattern-optimized/304 1539s ok 442 /regex/match/subpattern-optimized/305 1539s ok 443 /regex/match/subpattern-optimized/306 1539s ok 444 /regex/match/subpattern-optimized/307 1539s ok 445 /regex/match/subpattern-optimized/308 1539s ok 446 /regex/match/subpattern-optimized/309 1539s ok 447 /regex/match/subpattern-optimized/310 1539s ok 448 /regex/match/subpattern-optimized/311 1539s ok 449 /regex/match/subpattern-optimized/312 1539s ok 450 /regex/match/subpattern-optimized/313 1539s ok 451 /regex/match/subpattern-optimized/314 1539s ok 452 /regex/match/subpattern-optimized/315 1539s ok 453 /regex/match/subpattern-optimized/316 1539s # End of subpattern-optimized tests 1539s # Start of named tests 1539s # Start of subpattern tests 1539s ok 454 /regex/match/named/subpattern/317 1539s ok 455 /regex/match/named/subpattern/318 1539s ok 456 /regex/match/named/subpattern/319 1539s ok 457 /regex/match/named/subpattern/320 1539s ok 458 /regex/match/named/subpattern/321 1539s ok 459 /regex/match/named/subpattern/322 1539s ok 460 /regex/match/named/subpattern/323 1539s ok 461 /regex/match/named/subpattern/324 1539s ok 462 /regex/match/named/subpattern/325 1539s ok 463 /regex/match/named/subpattern/331 1539s ok 464 /regex/match/named/subpattern/332 1539s ok 465 /regex/match/named/subpattern/333 1539s ok 466 /regex/match/named/subpattern/334 1539s ok 467 /regex/match/named/subpattern/335 1539s # End of subpattern tests 1539s # End of named tests 1539s # End of match tests 1539s # Start of match-optimized tests 1539s ok 468 /regex/match-optimized/166 1539s ok 469 /regex/match-optimized/167 1539s ok 470 /regex/match-optimized/168 1539s ok 471 /regex/match-optimized/169 1539s ok 472 /regex/match-optimized/170 1539s ok 473 /regex/match-optimized/171 1539s ok 474 /regex/match-optimized/172 1539s ok 475 /regex/match-optimized/173 1539s ok 476 /regex/match-optimized/174 1539s ok 477 /regex/match-optimized/175 1539s ok 478 /regex/match-optimized/176 1539s ok 479 /regex/match-optimized/177 1539s ok 480 /regex/match-optimized/178 1539s ok 481 /regex/match-optimized/179 1539s ok 482 /regex/match-optimized/180 1539s ok 483 /regex/match-optimized/181 1539s ok 484 /regex/match-optimized/182 1539s ok 485 /regex/match-optimized/183 1539s ok 486 /regex/match-optimized/184 1539s ok 487 /regex/match-optimized/185 1539s ok 488 /regex/match-optimized/186 1539s ok 489 /regex/match-optimized/187 1539s ok 490 /regex/match-optimized/188 1539s ok 491 /regex/match-optimized/189 1539s ok 492 /regex/match-optimized/190 1539s ok 493 /regex/match-optimized/191 1539s ok 494 /regex/match-optimized/192 1539s ok 495 /regex/match-optimized/193 1539s ok 496 /regex/match-optimized/194 1539s ok 497 /regex/match-optimized/195 1539s ok 498 /regex/match-optimized/196 1539s ok 499 /regex/match-optimized/197 1539s ok 500 /regex/match-optimized/198 1539s ok 501 /regex/match-optimized/199 1539s ok 502 /regex/match-optimized/200 1539s ok 503 /regex/match-optimized/201 1539s ok 504 /regex/match-optimized/202 1539s ok 505 /regex/match-optimized/203 1539s ok 506 /regex/match-optimized/204 1539s ok 507 /regex/match-optimized/205 1539s ok 508 /regex/match-optimized/206 1539s ok 509 /regex/match-optimized/207 1539s ok 510 /regex/match-optimized/208 1539s ok 511 /regex/match-optimized/209 1539s ok 512 /regex/match-optimized/210 1539s ok 513 /regex/match-optimized/211 1539s ok 514 /regex/match-optimized/212 1539s ok 515 /regex/match-optimized/213 1539s ok 516 /regex/match-optimized/214 1539s ok 517 /regex/match-optimized/215 1539s ok 518 /regex/match-optimized/216 1539s ok 519 /regex/match-optimized/217 1539s ok 520 /regex/match-optimized/218 1539s ok 521 /regex/match-optimized/219 1539s ok 522 /regex/match-optimized/220 1539s ok 523 /regex/match-optimized/221 1539s ok 524 /regex/match-optimized/222 1539s ok 525 /regex/match-optimized/223 1539s ok 526 /regex/match-optimized/224 1539s ok 527 /regex/match-optimized/225 1539s ok 528 /regex/match-optimized/226 1539s ok 529 /regex/match-optimized/227 1539s ok 530 /regex/match-optimized/228 1539s ok 531 /regex/match-optimized/229 1539s ok 532 /regex/match-optimized/230 1539s ok 533 /regex/match-optimized/231 1539s ok 534 /regex/match-optimized/232 1539s ok 535 /regex/match-optimized/233 1539s ok 536 /regex/match-optimized/234 1539s ok 537 /regex/match-optimized/235 1539s ok 538 /regex/match-optimized/236 1539s ok 539 /regex/match-optimized/237 1539s ok 540 /regex/match-optimized/238 1539s ok 541 /regex/match-optimized/239 1539s ok 542 /regex/match-optimized/240 1539s ok 543 /regex/match-optimized/241 1539s ok 544 /regex/match-optimized/242 1539s ok 545 /regex/match-optimized/243 1539s ok 546 /regex/match-optimized/244 1539s ok 547 /regex/match-optimized/245 1539s ok 548 /regex/match-optimized/246 1539s ok 549 /regex/match-optimized/247 1539s # End of match-optimized tests 1539s # Start of fetch-all0 tests 1539s ok 550 /regex/fetch-all0/336 1539s ok 551 /regex/fetch-all0/337 1539s # End of fetch-all0 tests 1539s # Start of fetch-all1 tests 1539s ok 552 /regex/fetch-all1/338 1539s ok 553 /regex/fetch-all1/339 1539s ok 554 /regex/fetch-all1/340 1539s # End of fetch-all1 tests 1539s # Start of fetch-all2 tests 1539s ok 555 /regex/fetch-all2/341 1539s ok 556 /regex/fetch-all2/342 1539s ok 557 /regex/fetch-all2/343 1539s # End of fetch-all2 tests 1539s # Start of fetch-all3 tests 1539s ok 558 /regex/fetch-all3/344 1539s ok 559 /regex/fetch-all3/345 1539s ok 560 /regex/fetch-all3/346 1539s ok 561 /regex/fetch-all3/347 1539s ok 562 /regex/fetch-all3/348 1539s # End of fetch-all3 tests 1539s # Start of split tests 1539s # Start of simple0 tests 1539s ok 563 /regex/split/simple0/349 1539s ok 564 /regex/split/simple0/350 1539s ok 565 /regex/split/simple0/365 1539s ok 566 /regex/split/simple0/366 1539s # End of simple0 tests 1539s # Start of simple1 tests 1539s ok 567 /regex/split/simple1/351 1539s ok 568 /regex/split/simple1/352 1539s # End of simple1 tests 1539s # Start of simple2 tests 1539s ok 569 /regex/split/simple2/353 1539s ok 570 /regex/split/simple2/359 1539s ok 571 /regex/split/simple2/361 1539s # End of simple2 tests 1539s # Start of simple3 tests 1539s ok 572 /regex/split/simple3/354 1539s ok 573 /regex/split/simple3/355 1539s ok 574 /regex/split/simple3/356 1539s ok 575 /regex/split/simple3/357 1539s ok 576 /regex/split/simple3/358 1539s ok 577 /regex/split/simple3/360 1539s ok 578 /regex/split/simple3/362 1539s ok 579 /regex/split/simple3/363 1539s ok 580 /regex/split/simple3/364 1539s # End of simple3 tests 1539s # End of split tests 1539s # Start of split0 tests 1539s ok 581 /regex/split0/367 1539s ok 582 /regex/split0/369 1539s # End of split0 tests 1539s # Start of full-split0 tests 1539s ok 583 /regex/full-split0/368 1539s ok 584 /regex/full-split0/370 1539s ok 585 /regex/full-split0/371 1539s ok 586 /regex/full-split0/372 1539s ok 587 /regex/full-split0/373 1539s # End of full-split0 tests 1539s # Start of split1 tests 1539s ok 588 /regex/split1/374 1539s ok 589 /regex/split1/377 1539s # End of split1 tests 1539s # Start of full-split1 tests 1539s ok 590 /regex/full-split1/375 1539s ok 591 /regex/full-split1/376 1539s ok 592 /regex/full-split1/378 1539s ok 593 /regex/full-split1/379 1539s ok 594 /regex/full-split1/405 1539s # End of full-split1 tests 1539s # Start of split2 tests 1539s ok 595 /regex/split2/380 1539s ok 596 /regex/split2/384 1539s ok 597 /regex/split2/396 1539s # End of split2 tests 1539s # Start of full-split2 tests 1539s ok 598 /regex/full-split2/381 1539s ok 599 /regex/full-split2/382 1539s ok 600 /regex/full-split2/383 1539s ok 601 /regex/full-split2/385 1539s ok 602 /regex/full-split2/397 1539s ok 603 /regex/full-split2/400 1539s ok 604 /regex/full-split2/406 1539s # End of full-split2 tests 1539s # Start of split3 tests 1539s ok 605 /regex/split3/386 1539s ok 606 /regex/split3/388 1539s ok 607 /regex/split3/390 1539s ok 608 /regex/split3/392 1539s ok 609 /regex/split3/394 1539s ok 610 /regex/split3/398 1539s ok 611 /regex/split3/401 1539s ok 612 /regex/split3/403 1539s # End of split3 tests 1539s # Start of full-split3 tests 1539s ok 613 /regex/full-split3/387 1539s ok 614 /regex/full-split3/389 1539s ok 615 /regex/full-split3/391 1539s ok 616 /regex/full-split3/393 1539s ok 617 /regex/full-split3/395 1539s ok 618 /regex/full-split3/399 1539s ok 619 /regex/full-split3/402 1539s ok 620 /regex/full-split3/404 1539s ok 621 /regex/full-split3/407 1539s ok 622 /regex/full-split3/408 1539s # End of full-split3 tests 1539s # Start of check-repacement tests 1539s ok 623 /regex/check-repacement/409 1539s ok 624 /regex/check-repacement/410 1539s ok 625 /regex/check-repacement/411 1539s ok 626 /regex/check-repacement/412 1539s ok 627 /regex/check-repacement/413 1539s ok 628 /regex/check-repacement/414 1539s ok 629 /regex/check-repacement/415 1539s ok 630 /regex/check-repacement/416 1539s # End of check-repacement tests 1539s # Start of expand tests 1539s ok 631 /regex/expand/417 1539s ok 632 /regex/expand/418 1539s ok 633 /regex/expand/419 1539s ok 634 /regex/expand/420 1539s ok 635 /regex/expand/421 1539s ok 636 /regex/expand/422 1539s ok 637 /regex/expand/423 1539s ok 638 /regex/expand/424 1539s ok 639 /regex/expand/425 1539s ok 640 /regex/expand/426 1539s ok 641 /regex/expand/427 1539s ok 642 /regex/expand/428 1539s ok 643 /regex/expand/429 1539s ok 644 /regex/expand/430 1539s ok 645 /regex/expand/431 1539s ok 646 /regex/expand/432 1539s ok 647 /regex/expand/433 1539s ok 648 /regex/expand/434 1539s ok 649 /regex/expand/435 1539s ok 650 /regex/expand/436 1539s ok 651 /regex/expand/437 1539s ok 652 /regex/expand/438 1539s ok 653 /regex/expand/439 1539s ok 654 /regex/expand/440 1539s ok 655 /regex/expand/441 1539s ok 656 /regex/expand/442 1539s ok 657 /regex/expand/443 1539s ok 658 /regex/expand/444 1539s ok 659 /regex/expand/445 1539s ok 660 /regex/expand/446 1539s ok 661 /regex/expand/447 1539s ok 662 /regex/expand/448 1539s ok 663 /regex/expand/449 1539s ok 664 /regex/expand/450 1539s ok 665 /regex/expand/451 1539s ok 666 /regex/expand/452 1539s ok 667 /regex/expand/453 1539s ok 668 /regex/expand/454 1539s ok 669 /regex/expand/455 1539s ok 670 /regex/expand/456 1539s ok 671 /regex/expand/457 1539s ok 672 /regex/expand/458 1539s ok 673 /regex/expand/459 1539s ok 674 /regex/expand/460 1539s ok 675 /regex/expand/461 1539s ok 676 /regex/expand/462 1539s ok 677 /regex/expand/463 1539s ok 678 /regex/expand/464 1539s ok 679 /regex/expand/465 1539s ok 680 /regex/expand/466 1539s ok 681 /regex/expand/467 1539s ok 682 /regex/expand/468 1539s ok 683 /regex/expand/469 1539s ok 684 /regex/expand/470 1539s ok 685 /regex/expand/471 1539s ok 686 /regex/expand/472 1539s ok 687 /regex/expand/473 1539s ok 688 /regex/expand/474 1539s ok 689 /regex/expand/475 1539s ok 690 /regex/expand/476 1539s ok 691 /regex/expand/477 1539s ok 692 /regex/expand/478 1539s ok 693 /regex/expand/479 1539s ok 694 /regex/expand/480 1539s ok 695 /regex/expand/481 1539s ok 696 /regex/expand/482 1539s # End of expand tests 1539s # Start of replace tests 1539s ok 697 /regex/replace/483 1539s ok 698 /regex/replace/484 1539s ok 699 /regex/replace/485 1539s ok 700 /regex/replace/486 1539s ok 701 /regex/replace/487 1539s ok 702 /regex/replace/488 1539s ok 703 /regex/replace/489 1539s ok 704 /regex/replace/490 1539s ok 705 /regex/replace/491 1539s ok 706 /regex/replace/492 1539s ok 707 /regex/replace/493 1539s ok 708 /regex/replace/494 1539s ok 709 /regex/replace/495 1539s ok 710 /regex/replace/496 1539s ok 711 /regex/replace/497 1539s ok 712 /regex/replace/498 1539s ok 713 /regex/replace/499 1539s ok 714 /regex/replace/500 1539s ok 715 /regex/replace/501 1539s ok 716 /regex/replace/502 1539s ok 717 /regex/replace/503 1539s ok 718 /regex/replace/504 1539s ok 719 /regex/replace/505 1539s ok 720 /regex/replace/506 1539s ok 721 /regex/replace/507 1539s ok 722 /regex/replace/508 1539s ok 723 /regex/replace/509 1539s ok 724 /regex/replace/510 1539s # End of replace tests 1539s # Start of replace-optimized tests 1539s ok 725 /regex/replace-optimized/483 1539s ok 726 /regex/replace-optimized/484 1539s ok 727 /regex/replace-optimized/485 1539s ok 728 /regex/replace-optimized/486 1539s ok 729 /regex/replace-optimized/487 1539s ok 730 /regex/replace-optimized/488 1539s ok 731 /regex/replace-optimized/489 1539s ok 732 /regex/replace-optimized/490 1539s ok 733 /regex/replace-optimized/491 1539s ok 734 /regex/replace-optimized/492 1539s ok 735 /regex/replace-optimized/493 1539s ok 736 /regex/replace-optimized/494 1539s ok 737 /regex/replace-optimized/495 1539s ok 738 /regex/replace-optimized/496 1539s ok 739 /regex/replace-optimized/497 1539s ok 740 /regex/replace-optimized/498 1539s ok 741 /regex/replace-optimized/499 1539s ok 742 /regex/replace-optimized/500 1539s ok 743 /regex/replace-optimized/501 1539s ok 744 /regex/replace-optimized/502 1539s ok 745 /regex/replace-optimized/503 1539s ok 746 /regex/replace-optimized/504 1539s ok 747 /regex/replace-optimized/505 1539s ok 748 /regex/replace-optimized/506 1539s ok 749 /regex/replace-optimized/507 1539s ok 750 /regex/replace-optimized/508 1539s ok 751 /regex/replace-optimized/509 1539s ok 752 /regex/replace-optimized/510 1539s # End of replace-optimized tests 1539s # Start of replace-literally tests 1539s ok 753 /regex/replace-literally/511 1539s ok 754 /regex/replace-literally/512 1539s ok 755 /regex/replace-literally/513 1539s ok 756 /regex/replace-literally/514 1539s ok 757 /regex/replace-literally/515 1539s ok 758 /regex/replace-literally/516 1539s ok 759 /regex/replace-literally/517 1539s ok 760 /regex/replace-literally/518 1539s ok 761 /regex/replace-literally/519 1539s ok 762 /regex/replace-literally/520 1539s ok 763 /regex/replace-literally/521 1539s ok 764 /regex/replace-literally/522 1539s ok 765 /regex/replace-literally/523 1539s ok 766 /regex/replace-literally/524 1539s ok 767 /regex/replace-literally/525 1539s ok 768 /regex/replace-literally/526 1539s ok 769 /regex/replace-literally/527 1539s ok 770 /regex/replace-literally/528 1539s ok 771 /regex/replace-literally/529 1539s ok 772 /regex/replace-literally/530 1539s # End of replace-literally tests 1539s # Start of string-number tests 1539s ok 773 /regex/string-number/531 1539s ok 774 /regex/string-number/532 1539s ok 775 /regex/string-number/533 1539s ok 776 /regex/string-number/534 1539s ok 777 /regex/string-number/535 1539s ok 778 /regex/string-number/536 1539s ok 779 /regex/string-number/537 1539s ok 780 /regex/string-number/538 1539s ok 781 /regex/string-number/539 1539s ok 782 /regex/string-number/540 1539s ok 783 /regex/string-number/541 1539s ok 784 /regex/string-number/542 1539s ok 785 /regex/string-number/543 1539s ok 786 /regex/string-number/544 1539s ok 787 /regex/string-number/545 1539s # End of string-number tests 1539s # Start of escape_nul tests 1539s ok 788 /regex/escape_nul/546 1539s ok 789 /regex/escape_nul/547 1539s ok 790 /regex/escape_nul/548 1539s ok 791 /regex/escape_nul/549 1539s ok 792 /regex/escape_nul/550 1539s ok 793 /regex/escape_nul/551 1539s ok 794 /regex/escape_nul/552 1539s ok 795 /regex/escape_nul/553 1539s ok 796 /regex/escape_nul/554 1539s ok 797 /regex/escape_nul/555 1539s ok 798 /regex/escape_nul/556 1539s ok 799 /regex/escape_nul/557 1539s ok 800 /regex/escape_nul/558 1539s ok 801 /regex/escape_nul/559 1539s ok 802 /regex/escape_nul/560 1539s # End of escape_nul tests 1539s # Start of escape tests 1539s ok - glib/regex.test 1539s # Running test: glib/notify-init.test 1539s ok - glib/notify-init.test 1539s # Running test: glib/timeout.test 1539s ok 803 /regex/escape/561 1539s ok 804 /regex/escape/562 1539s ok 805 /regex/escape/563 1539s ok 806 /regex/escape/564 1539s ok 807 /regex/escape/565 1539s ok 808 /regex/escape/566 1539s ok 809 /regex/escape/567 1539s ok 810 /regex/escape/568 1539s ok 811 /regex/escape/569 1539s ok 812 /regex/escape/570 1539s ok 813 /regex/escape/571 1539s ok 814 /regex/escape/572 1539s ok 815 /regex/escape/573 1539s ok 816 /regex/escape/574 1539s ok 817 /regex/escape/575 1539s ok 818 /regex/escape/576 1539s ok 819 /regex/escape/577 1539s ok 820 /regex/escape/578 1539s # End of escape tests 1539s # Start of match-all0 tests 1539s ok 821 /regex/match-all0/579 1539s ok 822 /regex/match-all0/581 1539s # End of match-all0 tests 1539s # Start of match-all-full0 tests 1539s ok 823 /regex/match-all-full0/580 1539s ok 824 /regex/match-all-full0/582 1539s ok 825 /regex/match-all-full0/583 1539s ok 826 /regex/match-all-full0/584 1539s # End of match-all-full0 tests 1539s # Start of match-all1 tests 1539s ok 827 /regex/match-all1/585 1539s ok 828 /regex/match-all1/587 1539s ok 829 /regex/match-all1/592 1539s # End of match-all1 tests 1539s # Start of match-all-full1 tests 1539s ok 830 /regex/match-all-full1/586 1539s ok 831 /regex/match-all-full1/588 1539s ok 832 /regex/match-all-full1/589 1539s ok 833 /regex/match-all-full1/590 1539s ok 834 /regex/match-all-full1/591 1539s ok 835 /regex/match-all-full1/593 1539s # End of match-all-full1 tests 1539s # Start of match-all2 tests 1539s ok 836 /regex/match-all2/594 1539s ok 837 /regex/match-all2/596 1539s ok 838 /regex/match-all2/598 1539s # End of match-all2 tests 1539s # Start of match-all-full2 tests 1539s ok 839 /regex/match-all-full2/595 1539s ok 840 /regex/match-all-full2/597 1539s ok 841 /regex/match-all-full2/599 1539s # End of match-all-full2 tests 1539s # Start of match-all3 tests 1539s ok 842 /regex/match-all3/600 1539s ok 843 /regex/match-all3/602 1539s # End of match-all3 tests 1539s # Start of match-all-full3 tests 1539s ok 844 /regex/match-all-full3/601 1539s ok 845 /regex/match-all-full3/603 1539s # End of match-all-full3 tests 1539s # Start of match-notempty tests 1539s ok 846 /regex/match-notempty/604 1539s # End of match-notempty tests 1539s # Start of match-notempty-optimized tests 1539s ok 847 /regex/match-notempty-optimized/604 1539s # End of match-notempty-optimized tests 1539s # Start of match-notempty-atstart tests 1539s ok 848 /regex/match-notempty-atstart/605 1539s # End of match-notempty-atstart tests 1539s # Start of match-notempty-atstart-optimized tests 1539s ok 849 /regex/match-notempty-atstart-optimized/605 1539s # End of match-notempty-atstart-optimized tests 1539s # End of regex tests 1539s TAP version 14 1539s # random seed: R02Saf126f2d766ba0bb59adc2f71fae659a 1539s 1..1 1539s # Start of properties tests 1539s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1539s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1539s ok 1 /properties/notify-in-init 1539s # End of properties tests 1539s TAP version 14 1539s # random seed: R02S78bb60b5e81fb2186b82c6b79540f7a3 1539s 1..5 1539s # Start of timeout tests 1539s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1542s ok 1 /timeout/seconds 1542s # slow test /timeout/seconds executed in 2.10 secs 1543s # Executing: glib/timeout.test 1544s ok 2 /timeout/seconds-once 1544s # slow test /timeout/seconds-once executed in 2.10 secs 1544s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1546s ok 3 /timeout/weeks-overflow 1546s # slow test /timeout/weeks-overflow executed in 2.10 secs 1546s ok 4 /timeout/far-future-ready-time 1548s # Executing: glib/timeout.test 1553s # Executing: glib/timeout.test 1556s ok 5 /timeout/rounding 1556s # slow test /timeout/rounding executed in 10.47 secs 1556s # End of timeout tests 1556s ok - glib/timeout.test 1556s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1556s TAP version 14 1556s # random seed: R02Sa551c70b931d022bca1957da1d20bbb4 1556s 1..8 1556s # Start of gdbus tests 1556s # Start of codegen tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/annotations/.dirs/runtime 1556s ok 1 /gdbus/codegen/annotations 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/interface_stability/.dirs/runtime 1556s ok 2 /gdbus/codegen/interface_stability 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/object-manager/.dirs/runtime 1556s ok 3 /gdbus/codegen/object-manager 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/property-naming/.dirs/runtime 1556s ok 4 /gdbus/codegen/property-naming 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/autocleanups/.dirs/runtime 1556s ok 5 /gdbus/codegen/autocleanups 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/deprecations/.dirs/runtime 1556s ok 6 /gdbus/codegen/deprecations 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1556s ok 7 /gdbus/codegen/standalone-interface-info 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_33XUJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1556s ok 8 /gdbus/codegen/unix-fd-list 1556s # End of codegen tests 1556s # End of gdbus tests 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s TAP version 14 1556s # random seed: R02S778a51fa5091b40597ef4672bb363dcd 1556s 1..36 1556s # Start of keyfile tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/line-ends/.dirs/runtime 1556s ok 1 /keyfile/line-ends 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/whitespace/.dirs/runtime 1556s ok 2 /keyfile/whitespace 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/comments/.dirs/runtime 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1556s ok 3 /keyfile/comments 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/listing/.dirs/runtime 1556s ok 4 /keyfile/listing 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/string/.dirs/runtime 1556s ok 5 /keyfile/string 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/boolean/.dirs/runtime 1556s ok 6 /keyfile/boolean 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/number/.dirs/runtime 1556s ok 7 /keyfile/number 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/system-config2 1556s ok - glib/gdbus-test-codegen-min-required-2-64.test 1556s # Running test: glib/keyfile.test 1556s ok - glib/keyfile.test 1556s # Running test: glib/markup.test 1556s ok - glib/markup.test 1556s # Running test: glib/utf8-private.test 1556s ok - glib/utf8-private.test 1556s # Running test: glib/spawn-test.test 1556s ok - glib/spawn-test.test 1556s # Running test: glib/application-command-line.test 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/.dirs/runtime 1556s ok 8 /keyfile/locale-string 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/lists/.dirs/runtime 1556s ok 9 /keyfile/lists 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/lists-set-get/.dirs/runtime 1556s ok 10 /keyfile/lists-set-get 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/group-remove/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1556s ok 11 /keyfile/group-remove 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/key-remove/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1556s ok 12 /keyfile/key-remove 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/groups/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1556s ok 13 /keyfile/groups 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-keys/.dirs/runtime 1556s ok 14 /keyfile/duplicate-keys 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1556s ok 15 /keyfile/duplicate-groups 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/duplicate-groups2/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1556s ok 16 /keyfile/duplicate-groups2 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/group-names/.dirs/runtime 1556s ok 17 /keyfile/group-names 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/key-names/.dirs/runtime 1556s ok 18 /keyfile/key-names 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/reload/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1556s ok 19 /keyfile/reload 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/int64/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1556s ok 20 /keyfile/int64 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/load/.dirs/runtime 1556s ok 21 /keyfile/load 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/save/.dirs/runtime 1556s ok 22 /keyfile/save 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/load-fail/.dirs/runtime 1556s ok 23 /keyfile/load-fail 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/non-utf8/.dirs/runtime 1556s ok 24 /keyfile/non-utf8 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/page-boundary/.dirs/runtime 1556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1556s ok 25 /keyfile/page-boundary 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/ref/.dirs/runtime 1556s ok 26 /keyfile/ref 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/replace-value/.dirs/runtime 1556s ok 27 /keyfile/replace-value 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/list-separator/.dirs/runtime 1556s ok 28 /keyfile/list-separator 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/empty-string/.dirs/runtime 1556s ok 29 /keyfile/empty-string 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/limbo/.dirs/runtime 1556s ok 30 /keyfile/limbo 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/utf8/.dirs/runtime 1556s # Testing invalid encoding ‘non-UTF-8’ 1556s # Testing invalid encoding ‘UTF’ 1556s # Testing invalid encoding ‘UTF-9’ 1556s ok 31 /keyfile/utf8 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/roundtrip/.dirs/runtime 1556s ok 32 /keyfile/roundtrip 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/bytes/.dirs/runtime 1556s ok 33 /keyfile/bytes 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/get-locale/.dirs/runtime 1556s ok 34 /keyfile/get-locale 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/free-when-not-last-ref/.dirs/runtime 1556s ok 35 /keyfile/free-when-not-last-ref 1556s # Start of locale-string tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_09ESJ3/keyfile/locale-string/multiple-loads/.dirs/runtime 1556s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1556s ok 36 /keyfile/locale-string/multiple-loads 1556s # End of locale-string tests 1556s # End of keyfile tests 1556s TAP version 14 1556s # random seed: R02Sd3c45d7c1626533987a51ab9f12c2096 1556s 1..1 1556s # Start of markup tests 1556s ok 1 /markup/stack 1556s # End of markup tests 1556s TAP version 14 1556s # random seed: R02Sbc60cf9b185cf72af0bf9f657cf844c0 1556s 1..2 1556s # Start of utf8 tests 1556s ok 1 /utf8/utf8-to-utf16-make-valid 1556s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1556s # End of utf8 tests 1556s TAP version 14 1556s # random seed: R02Sec31d876d97bfa1c6f2269ef1b51c25b 1556s 1..2 1556s # Start of spawn tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_3TATJ3/spawn/basics/.dirs/runtime 1556s ok 1 /spawn/basics 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_3TATJ3/spawn/stdio-overwrite/.dirs/runtime 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1556s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1556s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1556s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1556s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1556s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1556s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1556s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1556s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1556s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1556s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1556s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1556s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1556s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1556s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1556s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1556s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1556s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1556s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1556s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1556s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1556s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1556s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1556s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1556s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1556s # Fetching GSpawn result with stdin open, stdout open, stderr open 1556s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1556s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1556s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1556s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1556s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1556s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1556s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1556s ok 2 /spawn/stdio-overwrite 1556s # End of spawn tests 1556s TAP version 14 1556s # random seed: R02Sfe83e0fa44314c16c420610a648ef12f 1556s 1..1 1556s # Start of application-command-line tests 1556s ok 1 /application-command-line/basic-properties 1556s # End of application-command-line tests 1556s ok - glib/application-command-line.test 1556s # Running test: glib/memory-monitor-psi.test 1556s TAP version 14 1556s # random seed: R02S6155123af39c6790807158ded296a418 1556s 1..1 1556s # Start of memory-monitor-psi tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_WD42J3/memory-monitor-psi/receive-signal/.dirs/runtime 1556s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1556s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1556s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1556s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1556s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1556s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1556s ok 1 /memory-monitor-psi/receive-signal 1556s # End of memory-monitor-psi tests 1556s ok - glib/memory-monitor-psi.test 1556s TAP version 14 1556s # random seed: R02S84331c6605f0be50b98b3541eed271ca 1556s 1..1 1556s # Start of credentials tests 1556s # GCredentials:linux-ucred:pid=3747,uid=1000,gid=1000 1556s # GCredentials:linux-ucred:pid=3747,uid=0,gid=1000 1556s ok 1 /credentials/basic 1556s # End of credentials tests 1556s # Running test: glib/credentials.test 1556s ok - glib/credentials.test 1556s # Running test: glib/sandbox.test 1556s TAP version 14 1556s # random seed: R02S3957c09037b4f924b9bb229dc0469f98 1556s 1..4 1556s # Start of sandbox tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJS2J3/sandbox/none/.dirs/runtime 1556s ok 1 /sandbox/none 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJS2J3/sandbox/snap/.dirs/runtime 1556s # Created snap.yaml in /tmp/test_sandbox_GJS2J3/snap/current/meta/snap.yaml 1556s ok 2 /sandbox/snap 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJS2J3/sandbox/classic-snap/.dirs/runtime 1556s # Created snap.yaml in /tmp/test_sandbox_GJS2J3/snap/current/meta/snap.yaml 1556s ok 3 /sandbox/classic-snap 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/runtime 1556s # Creating .flatpak-info in /tmp/test_sandbox_GJS2J3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1556s ok 4 /sandbox/flatpak 1556s # End of sandbox tests 1556s ok - glib/sandbox.test 1556s # Running test: glib/vfs.test 1556s TAP version 14 1556s # random seed: R02Sf2d12a74191eb9f1b64ddfa750cd6932 1556s 1..3 1556s # Start of gvfs tests 1556s ok 1 /gvfs/local 1556s ok - glib/vfs.test 1556s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1556s ok 2 /gvfs/register-scheme 1556s # Start of resource tests 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1556s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1556s ok 3 /gvfs/resource/malformed-escaping 1556s # End of resource tests 1556s # End of gvfs tests 1556s # Running test: glib/gdbus-message.test 1556s TAP version 14 1556s # random seed: R02S592ef5ee1377808e4b575946d56f83ee 1556s 1..3 1556s # Start of gdbus tests 1556s # Start of message tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HCU0J3/gdbus/message/lock/.dirs/runtime 1556s ok 1 /gdbus/message/lock 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HCU0J3/gdbus/message/copy/.dirs/runtime 1556s ok 2 /gdbus/message/copy 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/config 1556s ok - glib/gdbus-message.test 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HCU0J3/gdbus/message/bytes-needed/.dirs/runtime 1556s # Vector: 0 1556s # Vector: 1 1556s # Vector: 2 1556s # Vector: 3 1556s # Vector: 4 1556s # Vector: 5 1556s ok 3 /gdbus/message/bytes-needed 1556s # End of message tests 1556s # End of gdbus tests 1556s # Running test: glib/gdbus-address-get-session.test 1556s TAP version 14 1556s # random seed: R02S4c8484c6b726ed0db5a6bb487681bfa2 1556s 1..2 1556s # Start of gdbus tests 1556s ok 1 /gdbus/x11-autolaunch 1557s ok - glib/gdbus-address-get-session.test 1557s ok 2 /gdbus/xdg-runtime 1557s # End of gdbus tests 1557s # Running test: glib/registered-type-info.test 1557s ok - glib/registered-type-info.test 1557s # Running test: glib/param.test 1557s ok - glib/param.test 1557s # Running test: glib/1bit-mutex.test 1557s TAP version 14 1557s # random seed: R02S5c997023cb4e0ac213f1eab2a66c5d1a 1557s 1..1 1557s # Start of registered-type-info tests 1557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/home 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/cache 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/system-config2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/config 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/system-data2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/data 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/state 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_43R1J3/registered-type-info/boxed/.dirs/runtime 1557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1557s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1557s # Expecting CClosure to not be boxed 1557s # Expecting TypeCValue to not be boxed 1557s # Expecting InitiallyUnownedClass to not be boxed 1557s # Expecting BookmarkFile to be boxed 1557s # Expecting Closure to be boxed 1557s # Expecting Object to not be boxed 1557s ok 1 /registered-type-info/boxed 1557s # End of registered-type-info tests 1557s TAP version 14 1557s # random seed: R02S728e8e44bd658710ee1b638592dc4408 1557s 1..32 1557s # Start of param tests 1557s ok 1 /param/value 1557s ok 2 /param/strings 1557s ok 3 /param/qdata 1557s ok 4 /param/validate 1557s ok 5 /param/convert 1557s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1557s ok 7 /param/default 1557s ok 8 /param/is-valid-name 1557s # Start of invalid-name tests 1557s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1557s ok 9 /param/invalid-name/colon 1557s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1557s ok 10 /param/invalid-name/first-char 1557s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1557s ok 11 /param/invalid-name/empty 1557s # End of invalid-name tests 1557s # Start of implement tests 1557s # Start of subprocess tests 1557s # End of subprocess tests 1557s # End of implement tests 1557s # End of param tests 1557s # Start of value tests 1557s ok 12 /value/transform 1557s # End of value tests 1557s # Start of paramspec tests 1557s ok 13 /paramspec/char 1557s ok 14 /paramspec/uchar 1557s ok 15 /paramspec/int 1557s ok 16 /paramspec/uint 1557s ok 17 /paramspec/long 1557s ok 18 /paramspec/ulong 1557s ok 19 /paramspec/int64 1557s ok 20 /paramspec/uint64 1557s ok 21 /paramspec/float 1557s ok 22 /paramspec/double 1557s ok 23 /paramspec/unichar 1557s ok 24 /paramspec/param 1557s ok 25 /paramspec/null-param 1557s ok 26 /paramspec/string 1557s ok 27 /paramspec/override 1557s ok 28 /paramspec/gtype 1557s ok 29 /paramspec/variant 1557s ok 30 /paramspec/custom 1557s ok 31 /paramspec/pool 1557s # Start of variant tests 1557s ok 32 /paramspec/variant/cmp 1557s # End of variant tests 1557s # End of paramspec tests 1557s TAP version 14 1557s # random seed: R02Sdbdc35d597fab83b7d825c6441dd0f30 1557s 1..2 1557s # Start of glib tests 1557s # Start of 1bit-mutex tests 1558s # Executing: glib/1bit-mutex.test 1560s ok 1 /glib/1bit-mutex/int 1560s # slow test /glib/1bit-mutex/int executed in 3.36 secs 1563s # Executing: glib/1bit-mutex.test 1564s ok - glib/1bit-mutex.test 1564s # Running test: glib/memory-settings-backend.test 1564s ok 2 /glib/1bit-mutex/pointer 1564s # slow test /glib/1bit-mutex/pointer executed in 3.38 secs 1564s # End of 1bit-mutex tests 1564s # End of glib tests 1564s TAP version 14 1564s # random seed: R02S7cd505bf17e497da71d7ffc83e7557cd 1564s 1..1 1564s # Start of memory-settings-backend tests 1564s ok 1 /memory-settings-backend/extension-point-registered 1564s # End of memory-settings-backend tests 1564s TAP version 14 1564s # random seed: R02Sb0079262d31ea79c28ff8c28b5a967f8 1564s 1..1 1564s # Start of gobject tests 1564s # *** emitting foo on a TestA instance 1564s # Expecting: TestA::foo,TestI::foo 1564s # Got: TestA::foo,TestI::foo 1564s # *** emitting bar on a TestA instance 1564s # Expecting: TestA::bar 1564s # Got: TestA::bar 1564s # *** emitting baz on a TestA instance 1564s # Expecting: TestA::baz 1564s # Got: TestA::baz 1564s # *** emitting foo on a TestB instance 1564s # Expecting: TestB::foo,TestA::foo,TestI::foo 1564s # Got: TestB::foo,TestA::foo,TestI::foo 1564s # *** emitting bar on a TestB instance 1564s # Expecting: TestB::bar,TestA::bar 1564s # Got: TestB::bar,TestA::bar 1564s # *** emitting baz on a TestB instance 1564s # Expecting: TestB::baz,TestA::baz 1564s # Got: TestB::baz,TestA::baz 1564s # *** emitting foo on a TestC instance 1564s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1564s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1564s # *** emitting bar on a TestC instance 1564s # Expecting: TestC::bar,TestB::bar,TestA::bar 1564s # Got: TestC::bar,TestB::bar,TestA::bar 1564s # *** emitting baz on a TestC instance 1564s # Expecting: TestC::baz,TestB::baz,TestA::baz 1564s # Got: TestC::baz,TestB::baz,TestA::baz 1564s ok 1 /gobject/override 1564s # End of gobject tests 1564s TAP version 14 1564s # random seed: R02Sc395f9b5c7b13e73c8c3827bcdad8638 1564s ok - glib/memory-settings-backend.test 1564s # Running test: glib/override.test 1564s ok - glib/override.test 1564s # Running test: glib/utf8-validate.test 1565s ok - glib/utf8-validate.test 1565s # Running test: glib/throws.test 1565s ok - glib/throws.test 1565s # Running test: glib/environment.test 1565s ok - glib/environment.test 1565s # Running test: glib/markup-escape.test 1565s 1..238 1565s # Start of utf8 tests 1565s # Vector 0 1565s # Vector 1 1565s # Vector 2 1565s # Vector 3 1565s # Vector 4 1565s # Vector 5 1565s # Vector 6 1565s # Vector 7 1565s # Vector 8 1565s # Vector 9 1565s # Vector 10 1565s # Vector 11 1565s # Vector 12 1565s # Vector 13 1565s # Vector 14 1565s # Vector 15 1565s # Vector 16 1565s # Vector 17 1565s # Vector 18 1565s # Vector 19 1565s # Vector 20 1565s # Vector 21 1565s # Vector 22 1565s # Vector 23 1565s # Vector 24 1565s # Vector 25 1565s # Vector 26 1565s # Vector 27 1565s ok 1 /utf8/get-char-validated 1565s # Start of validate tests 1565s ok 2 /utf8/validate/0 1565s ok 3 /utf8/validate/1 1565s ok 4 /utf8/validate/2 1565s ok 5 /utf8/validate/3 1565s ok 6 /utf8/validate/4 1565s ok 7 /utf8/validate/5 1565s ok 8 /utf8/validate/6 1565s ok 9 /utf8/validate/7 1565s ok 10 /utf8/validate/8 1565s ok 11 /utf8/validate/9 1565s ok 12 /utf8/validate/10 1565s ok 13 /utf8/validate/11 1565s ok 14 /utf8/validate/12 1565s ok 15 /utf8/validate/13 1565s ok 16 /utf8/validate/14 1565s ok 17 /utf8/validate/15 1565s ok 18 /utf8/validate/16 1565s ok 19 /utf8/validate/17 1565s ok 20 /utf8/validate/18 1565s ok 21 /utf8/validate/19 1565s ok 22 /utf8/validate/20 1565s ok 23 /utf8/validate/21 1565s ok 24 /utf8/validate/22 1565s ok 25 /utf8/validate/23 1565s ok 26 /utf8/validate/24 1565s ok 27 /utf8/validate/25 1565s ok 28 /utf8/validate/26 1565s ok 29 /utf8/validate/27 1565s ok 30 /utf8/validate/28 1565s ok 31 /utf8/validate/29 1565s ok 32 /utf8/validate/30 1565s ok 33 /utf8/validate/31 1565s ok 34 /utf8/validate/32 1565s ok 35 /utf8/validate/33 1565s ok 36 /utf8/validate/34 1565s ok 37 /utf8/validate/35 1565s ok 38 /utf8/validate/36 1565s ok 39 /utf8/validate/37 1565s ok 40 /utf8/validate/38 1565s ok 41 /utf8/validate/39 1565s ok 42 /utf8/validate/40 1565s ok 43 /utf8/validate/41 1565s ok 44 /utf8/validate/42 1565s ok 45 /utf8/validate/43 1565s ok 46 /utf8/validate/44 1565s ok 47 /utf8/validate/45 1565s ok 48 /utf8/validate/46 1565s ok 49 /utf8/validate/47 1565s ok 50 /utf8/validate/48 1565s ok 51 /utf8/validate/49 1565s ok 52 /utf8/validate/50 1565s ok 53 /utf8/validate/51 1565s ok 54 /utf8/validate/52 1565s ok 55 /utf8/validate/53 1565s ok 56 /utf8/validate/54 1565s ok 57 /utf8/validate/55 1565s ok 58 /utf8/validate/56 1565s ok 59 /utf8/validate/57 1565s ok 60 /utf8/validate/58 1565s ok 61 /utf8/validate/59 1565s ok 62 /utf8/validate/60 1565s ok 63 /utf8/validate/61 1565s ok 64 /utf8/validate/62 1565s ok 65 /utf8/validate/63 1565s ok 66 /utf8/validate/64 1565s ok 67 /utf8/validate/65 1565s ok 68 /utf8/validate/66 1565s ok 69 /utf8/validate/67 1565s ok 70 /utf8/validate/68 1565s ok 71 /utf8/validate/69 1565s ok 72 /utf8/validate/70 1565s ok 73 /utf8/validate/71 1565s ok 74 /utf8/validate/72 1565s ok 75 /utf8/validate/73 1565s ok 76 /utf8/validate/74 1565s ok 77 /utf8/validate/75 1565s ok 78 /utf8/validate/76 1565s ok 79 /utf8/validate/77 1565s ok 80 /utf8/validate/78 1565s ok 81 /utf8/validate/79 1565s ok 82 /utf8/validate/80 1565s ok 83 /utf8/validate/81 1565s ok 84 /utf8/validate/82 1565s ok 85 /utf8/validate/83 1565s ok 86 /utf8/validate/84 1565s ok 87 /utf8/validate/85 1565s ok 88 /utf8/validate/86 1565s ok 89 /utf8/validate/87 1565s ok 90 /utf8/validate/88 1565s ok 91 /utf8/validate/89 1565s ok 92 /utf8/validate/90 1565s ok 93 /utf8/validate/91 1565s ok 94 /utf8/validate/92 1565s ok 95 /utf8/validate/93 1565s ok 96 /utf8/validate/94 1565s ok 97 /utf8/validate/95 1565s ok 98 /utf8/validate/96 1565s ok 99 /utf8/validate/97 1565s ok 100 /utf8/validate/98 1565s ok 101 /utf8/validate/99 1565s ok 102 /utf8/validate/100 1565s ok 103 /utf8/validate/101 1565s ok 104 /utf8/validate/102 1565s ok 105 /utf8/validate/103 1565s ok 106 /utf8/validate/104 1565s ok 107 /utf8/validate/105 1565s ok 108 /utf8/validate/106 1565s ok 109 /utf8/validate/107 1565s ok 110 /utf8/validate/108 1565s ok 111 /utf8/validate/109 1565s ok 112 /utf8/validate/110 1565s ok 113 /utf8/validate/111 1565s ok 114 /utf8/validate/112 1565s ok 115 /utf8/validate/113 1565s ok 116 /utf8/validate/114 1565s ok 117 /utf8/validate/115 1565s ok 118 /utf8/validate/116 1565s ok 119 /utf8/validate/117 1565s ok 120 /utf8/validate/118 1565s ok 121 /utf8/validate/119 1565s ok 122 /utf8/validate/120 1565s ok 123 /utf8/validate/121 1565s ok 124 /utf8/validate/122 1565s ok 125 /utf8/validate/123 1565s ok 126 /utf8/validate/124 1565s ok 127 /utf8/validate/125 1565s ok 128 /utf8/validate/126 1565s ok 129 /utf8/validate/127 1565s ok 130 /utf8/validate/128 1565s ok 131 /utf8/validate/129 1565s ok 132 /utf8/validate/130 1565s ok 133 /utf8/validate/131 1565s ok 134 /utf8/validate/132 1565s ok 135 /utf8/validate/133 1565s ok 136 /utf8/validate/134 1565s ok 137 /utf8/validate/135 1565s ok 138 /utf8/validate/136 1565s ok 139 /utf8/validate/137 1565s ok 140 /utf8/validate/138 1565s ok 141 /utf8/validate/139 1565s ok 142 /utf8/validate/140 1565s ok 143 /utf8/validate/141 1565s ok 144 /utf8/validate/142 1565s ok 145 /utf8/validate/143 1565s ok 146 /utf8/validate/144 1565s ok 147 /utf8/validate/145 1565s ok 148 /utf8/validate/146 1565s ok 149 /utf8/validate/147 1565s ok 150 /utf8/validate/148 1565s ok 151 /utf8/validate/149 1565s ok 152 /utf8/validate/150 1565s ok 153 /utf8/validate/151 1565s ok 154 /utf8/validate/152 1565s ok 155 /utf8/validate/153 1565s ok 156 /utf8/validate/154 1565s ok 157 /utf8/validate/155 1565s ok 158 /utf8/validate/156 1565s ok 159 /utf8/validate/157 1565s ok 160 /utf8/validate/158 1565s ok 161 /utf8/validate/159 1565s ok 162 /utf8/validate/160 1565s ok 163 /utf8/validate/161 1565s ok 164 /utf8/validate/162 1565s ok 165 /utf8/validate/163 1565s ok 166 /utf8/validate/164 1565s ok 167 /utf8/validate/165 1565s ok 168 /utf8/validate/166 1565s ok 169 /utf8/validate/167 1565s ok 170 /utf8/validate/168 1565s ok 171 /utf8/validate/169 1565s ok 172 /utf8/validate/170 1565s ok 173 /utf8/validate/171 1565s ok 174 /utf8/validate/172 1565s ok 175 /utf8/validate/173 1565s ok 176 /utf8/validate/174 1565s ok 177 /utf8/validate/175 1565s ok 178 /utf8/validate/176 1565s ok 179 /utf8/validate/177 1565s ok 180 /utf8/validate/178 1565s ok 181 /utf8/validate/179 1565s ok 182 /utf8/validate/180 1565s ok 183 /utf8/validate/181 1565s ok 184 /utf8/validate/182 1565s ok 185 /utf8/validate/183 1565s ok 186 /utf8/validate/184 1565s ok 187 /utf8/validate/185 1565s ok 188 /utf8/validate/186 1565s ok 189 /utf8/validate/187 1565s ok 190 /utf8/validate/188 1565s ok 191 /utf8/validate/189 1565s ok 192 /utf8/validate/190 1565s ok 193 /utf8/validate/191 1565s ok 194 /utf8/validate/192 1565s ok 195 /utf8/validate/193 1565s ok 196 /utf8/validate/194 1565s ok 197 /utf8/validate/195 1565s ok 198 /utf8/validate/196 1565s ok 199 /utf8/validate/197 1565s ok 200 /utf8/validate/198 1565s ok 201 /utf8/validate/199 1565s ok 202 /utf8/validate/200 1565s ok 203 /utf8/validate/201 1565s ok 204 /utf8/validate/202 1565s ok 205 /utf8/validate/203 1565s ok 206 /utf8/validate/204 1565s ok 207 /utf8/validate/205 1565s ok 208 /utf8/validate/206 1565s ok 209 /utf8/validate/207 1565s ok 210 /utf8/validate/208 1565s ok 211 /utf8/validate/209 1565s ok 212 /utf8/validate/210 1565s ok 213 /utf8/validate/211 1565s ok 214 /utf8/validate/212 1565s ok 215 /utf8/validate/213 1565s ok 216 /utf8/validate/214 1565s ok 217 /utf8/validate/215 1565s ok 218 /utf8/validate/216 1565s ok 219 /utf8/validate/217 1565s ok 220 /utf8/validate/218 1565s ok 221 /utf8/validate/219 1565s ok 222 /utf8/validate/220 1565s ok 223 /utf8/validate/221 1565s ok 224 /utf8/validate/222 1565s ok 225 /utf8/validate/223 1565s ok 226 /utf8/validate/224 1565s ok 227 /utf8/validate/225 1565s ok 228 /utf8/validate/226 1565s ok 229 /utf8/validate/227 1565s ok 230 /utf8/validate/228 1565s ok 231 /utf8/validate/229 1565s ok 232 /utf8/validate/230 1565s ok 233 /utf8/validate/231 1565s ok 234 /utf8/validate/232 1565s ok 235 /utf8/validate/233 1565s ok 236 /utf8/validate/234 1565s ok 237 /utf8/validate/235 1565s ok 238 /utf8/validate/236 1565s # End of validate tests 1565s # End of utf8 tests 1565s TAP version 14 1565s # random seed: R02Sda18a6f7d0b4961635706a170bd8b182 1565s 1..3 1565s # Start of throws tests 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KMT0J3/throws/invoke-gerror/.dirs/runtime 1565s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1565s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1565s ok 1 /throws/invoke-gerror 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KMT0J3/throws/vfunc-can-throw-gerror/.dirs/runtime 1565s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1565s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1565s ok 2 /throws/vfunc-can-throw-gerror 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KMT0J3/throws/callback-can-throw-gerror/.dirs/runtime 1565s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1565s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1565s ok 3 /throws/callback-can-throw-gerror 1565s # End of throws tests 1565s TAP version 14 1565s # random seed: R02Sadf3dfc9c087978ca3d3aa2886eeb903 1565s 1..7 1565s # Start of environ tests 1565s # /environ/listenv summary: Test g_get_environ() returns an array of unique keys, all of which can be individually queried using g_getenv() to return the same value. 1565s ok 1 /environ/listenv 1565s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1565s ok 2 /environ/getenv 1565s ok 3 /environ/setenv 1565s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1565s ok 4 /environ/array 1565s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1565s ok 5 /environ/null 1565s # /environ/case summary: Test that matching environment variables is case-insensitive on Windows and not on other platforms, since envvars were case-insensitive on DOS. 1565s ok 6 /environ/case 1565s # /environ/expansion summary: Test expansion of environment variable references. 1565s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1565s # End of environ tests 1565s TAP version 14 1565s # random seed: R02Sd9264078d2b6a771d347cbee2aaec362 1565s 1..41 1565s # Start of markup tests 1565s ok 1 /markup/format 1565s # Start of escape-text tests 1565s ok 2 /markup/escape-text/0 1565s ok 3 /markup/escape-text/1 1565s ok 4 /markup/escape-text/2 1565s ok 5 /markup/escape-text/3 1565s ok 6 /markup/escape-text/4 1565s ok 7 /markup/escape-text/5 1565s ok 8 /markup/escape-text/6 1565s ok 9 /markup/escape-text/7 1565s ok 10 /markup/escape-text/8 1565s ok 11 /markup/escape-text/9 1565s ok 12 /markup/escape-text/10 1565s ok 13 /markup/escape-text/11 1565s ok 14 /markup/escape-text/12 1565s ok 15 /markup/escape-text/13 1565s ok 16 /markup/escape-text/14 1565s ok 17 /markup/escape-text/15 1565s ok 18 /markup/escape-text/16 1565s ok 19 /markup/escape-text/17 1565s ok 20 /markup/escape-text/18 1565s ok 21 /markup/escape-text/19 1565s ok 22 /markup/escape-text/20 1565s ok 23 /markup/escape-text/21 1565s ok 24 /markup/escape-text/22 1565s # End of escape-text tests 1565s # Start of escape-unichar tests 1565s ok 25 /markup/escape-unichar/0 1565s ok 26 /markup/escape-unichar/1 1565s ok 27 /markup/escape-unichar/2 1565s ok 28 /markup/escape-unichar/3 1565s ok 29 /markup/escape-unichar/4 1565s ok 30 /markup/escape-unichar/5 1565s ok 31 /markup/escape-unichar/6 1565s ok 32 /markup/escape-unichar/7 1565s ok 33 /markup/escape-unichar/8 1565s ok 34 /markup/escape-unichar/9 1565s ok 35 /markup/escape-unichar/10 1565s ok 36 /markup/escape-unichar/11 1565s ok 37 /markup/escape-unichar/12 1565s ok 38 /markup/escape-unichar/13 1565s ok 39 /markup/escape-unichar/14 1565s ok 40 /markup/escape-unichar/15 1565s ok 41 /markup/escape-unichar/16 1565s # End of escape-unichar tests 1565s # End of markup tests 1565s TAP version 14 1565s # random seed: R02Sc8e384ce7e28eb72d87421a02831113e 1565s 1..16 1565s # Start of sequence tests 1565s ok 1 /sequence/out-of-range-jump 1565s ok 2 /sequence/iter-move 1565s ok 3 /sequence/insert-sorted-non-pointer 1565s ok 4 /sequence/stable-sort 1565s ok 5 /sequence/is_empty 1565s # Start of random tests 1565s ok 6 /sequence/random/seed:825541564 1565s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 1565s ok - glib/markup-escape.test 1565s # Running test: glib/sequence.test 1565s ok 7 /sequence/random/seed:801678400 1565s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 1565s ok 8 /sequence/random/seed:1477639090 1565s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 1566s ok 9 /sequence/random/seed:3369132895 1566s ok 10 /sequence/random/seed:1192944867 1566s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 1567s ok 11 /sequence/random/seed:770458294 1567s # slow test /sequence/random/seed:770458294 executed in 0.55 secs 1567s ok 12 /sequence/random/seed:1099575817 1567s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 1568s ok 13 /sequence/random/seed:590523467 1568s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 1568s # Executing: glib/sequence.test 1568s ok 14 /sequence/random/seed:3583571454 1568s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 1569s ok 15 /sequence/random/seed:579241222 1569s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 1569s ok 16 /sequence/random/seed:2097728491 1569s # slow test /sequence/random/seed:2097728491 executed in 0.53 secs 1569s # End of random tests 1569s # End of sequence tests 1569s ok - glib/sequence.test 1569s # Running test: glib/tls-bindings.test 1569s TAP version 14 1569s # random seed: R02Sd211e931ffd44d58cbc7936b80f2d2e1 1569s 1..2 1569s # Start of tls-connection tests 1569s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1569s ok 1 /tls-connection/get-tls-channel-binding 1569s ok 2 /tls-connection/get-dtls-channel-binding 1569s # End of tls-connection tests 1569s ok - glib/tls-bindings.test 1569s # Running test: glib/file-thumbnail.test 1569s TAP version 14 1569s # random seed: R02S9a05bba4114b6f5c9a5e040ffc61d0f5 1569s 1..7 1569s # Start of file-thumbnail tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/runtime 1569s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 1 /file-thumbnail/fail 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 2 /file-thumbnail/size-priority 1569s # Start of valid tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 3 /file-thumbnail/valid/normal 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 4 /file-thumbnail/valid/large 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/state 1569s ok - glib/file-thumbnail.test 1569s # Running test: glib/buffered-output-stream.test 1569s ok - glib/buffered-output-stream.test 1569s # Running test: glib/hash.test 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 5 /file-thumbnail/valid/x-large 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 6 /file-thumbnail/valid/xx-large 1569s # End of valid tests 1569s # Start of unknown tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/runtime 1569s # Created test thumbnail at /tmp/test_file-thumbnail_L2V1J3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1569s ok 7 /file-thumbnail/unknown/super-large 1569s # End of unknown tests 1569s # End of file-thumbnail tests 1569s TAP version 14 1569s # random seed: R02Saf54d143fdc0f3bda2beafb037fda5c7 1569s 1..5 1569s # Start of buffered-output-stream tests 1569s ok 1 /buffered-output-stream/write 1569s ok 2 /buffered-output-stream/grow 1569s ok 3 /buffered-output-stream/seek 1569s ok 4 /buffered-output-stream/truncate 1569s # End of buffered-output-stream tests 1569s # Start of filter-output-stream tests 1569s ok 5 /filter-output-stream/close 1569s # End of filter-output-stream tests 1569s TAP version 14 1569s # random seed: R02S12a7dbd7c6b7848c56f4203211c6a644 1569s 1..34 1569s # Start of hash tests 1569s ok 1 /hash/misc 1569s ok 2 /hash/one 1569s ok 3 /hash/honeyman 1569s ok 4 /hash/direct 1569s ok 5 /hash/direct2 1569s ok 6 /hash/int 1569s ok 7 /hash/int64 1569s ok 8 /hash/double 1569s ok 9 /hash/string 1569s ok 10 /hash/set 1569s ok 11 /hash/set-ref 1569s ok 12 /hash/ref 1569s ok 13 /hash/remove-all 1569s ok 14 /hash/recursive-remove-all 1569s ok 15 /hash/find 1569s ok 16 /hash/foreach 1569s ok 17 /hash/foreach-steal 1569s ok 18 /hash/steal-extended 1569s ok 19 /hash/steal-all-keys 1569s ok 20 /hash/steal-all-values 1569s ok 21 /hash/lookup-extended 1569s ok 22 /hash/new-similar 1569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1569s ok 23 /hash/lookup-null-key 1569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1569s ok 24 /hash/destroy-modify 1569s ok 25 /hash/consistency 1569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1569s ok 26 /hash/iter-replace 1569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1569s ok 27 /hash/set-insert-corruption 1569s ok 28 /hash/set-to-strv 1569s ok 29 /hash/get-keys-as-ptr-array 1569s ok 30 /hash/get-values-as-ptr-array 1569s ok 31 /hash/primes 1569s # Start of int64 tests 1569s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1569s ok 32 /hash/int64/collisions 1569s # End of int64 tests 1569s # Start of double tests 1569s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1569s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1569s ok 33 /hash/double/collisions 1569s # End of double tests 1569s # Start of recursive-remove-all tests 1569s # End of recursive-remove-all tests 1569s # Start of steal-extended tests 1569s ok 34 /hash/steal-extended/optional 1569s # End of steal-extended tests 1569s # End of hash tests 1569s ok - glib/hash.test 1569s # Running test: glib/642026-ec.test 1569s TAP version 14 1569s # random seed: R02Sf9ff87acb723330ccf5a92d01c99fc2b 1569s 1..1 1569s # Start of glib tests 1569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1569s ok 1 /glib/642026 1569s # End of glib tests 1569s ok - glib/642026-ec.test 1569s # Running test: glib/checksum.test 1569s TAP version 14 1569s # random seed: R02Sf967b9ebb49cd100e8a05ff7e8cb5740 1569s 1..1851 1569s # Start of checksum tests 1569s ok 1 /checksum/unsupported 1569s # Start of MD5 tests 1569s ok 2 /checksum/MD5/0 1569s ok 3 /checksum/MD5/1 1569s ok 4 /checksum/MD5/2 1569s ok 5 /checksum/MD5/3 1569s ok 6 /checksum/MD5/4 1569s ok 7 /checksum/MD5/5 1569s ok 8 /checksum/MD5/6 1569s ok 9 /checksum/MD5/7 1569s ok 10 /checksum/MD5/8 1569s ok 11 /checksum/MD5/9 1569s ok 12 /checksum/MD5/10 1569s ok 13 /checksum/MD5/11 1569s ok 14 /checksum/MD5/12 1569s ok 15 /checksum/MD5/13 1569s ok 16 /checksum/MD5/14 1569s ok 17 /checksum/MD5/15 1569s ok 18 /checksum/MD5/16 1569s ok 19 /checksum/MD5/17 1569s ok 20 /checksum/MD5/18 1569s ok 21 /checksum/MD5/19 1569s ok 22 /checksum/MD5/20 1569s ok 23 /checksum/MD5/21 1569s ok 24 /checksum/MD5/22 1569s ok 25 /checksum/MD5/23 1569s ok 26 /checksum/MD5/24 1569s ok 27 /checksum/MD5/25 1569s ok 28 /checksum/MD5/26 1569s ok 29 /checksum/MD5/27 1569s ok 30 /checksum/MD5/28 1569s ok 31 /checksum/MD5/29 1569s ok 32 /checksum/MD5/30 1569s ok 33 /checksum/MD5/31 1569s ok 34 /checksum/MD5/32 1569s ok 35 /checksum/MD5/33 1569s ok 36 /checksum/MD5/34 1569s ok 37 /checksum/MD5/35 1569s ok 38 /checksum/MD5/36 1569s ok 39 /checksum/MD5/37 1569s ok 40 /checksum/MD5/38 1569s ok 41 /checksum/MD5/39 1569s ok 42 /checksum/MD5/40 1569s ok 43 /checksum/MD5/41 1569s ok 44 /checksum/MD5/42 1569s ok 45 /checksum/MD5/43 1569s ok 46 /checksum/MD5/44 1569s ok 47 /checksum/MD5/45 1569s ok 48 /checksum/MD5/46 1569s ok 49 /checksum/MD5/47 1569s ok 50 /checksum/MD5/48 1569s ok 51 /checksum/MD5/49 1569s ok 52 /checksum/MD5/50 1569s ok 53 /checksum/MD5/51 1569s ok 54 /checksum/MD5/52 1569s ok 55 /checksum/MD5/53 1569s ok 56 /checksum/MD5/54 1569s ok 57 /checksum/MD5/55 1569s ok 58 /checksum/MD5/56 1569s ok 59 /checksum/MD5/57 1569s ok 60 /checksum/MD5/58 1569s ok 61 /checksum/MD5/59 1569s ok 62 /checksum/MD5/60 1569s ok 63 /checksum/MD5/61 1569s ok 64 /checksum/MD5/62 1569s ok 65 /checksum/MD5/63 1569s ok 66 /checksum/MD5/64 1569s ok 67 /checksum/MD5/65 1569s ok 68 /checksum/MD5/66 1569s ok 69 /checksum/MD5/67 1569s ok 70 /checksum/MD5/68 1569s ok 71 /checksum/MD5/69 1569s ok 72 /checksum/MD5/70 1569s ok 73 /checksum/MD5/71 1569s ok 74 /checksum/MD5/72 1569s ok 75 /checksum/MD5/73 1569s ok 76 /checksum/MD5/74 1569s ok 77 /checksum/MD5/75 1569s ok 78 /checksum/MD5/76 1569s ok 79 /checksum/MD5/77 1569s ok 80 /checksum/MD5/78 1569s ok 81 /checksum/MD5/79 1569s ok 82 /checksum/MD5/80 1569s ok 83 /checksum/MD5/81 1569s ok 84 /checksum/MD5/82 1569s ok 85 /checksum/MD5/83 1569s ok 86 /checksum/MD5/84 1569s ok 87 /checksum/MD5/85 1569s ok 88 /checksum/MD5/86 1569s ok 89 /checksum/MD5/87 1569s ok 90 /checksum/MD5/88 1569s ok 91 /checksum/MD5/89 1569s ok 92 /checksum/MD5/90 1569s ok 93 /checksum/MD5/91 1569s ok 94 /checksum/MD5/92 1569s ok 95 /checksum/MD5/93 1569s ok 96 /checksum/MD5/94 1569s ok 97 /checksum/MD5/95 1569s ok 98 /checksum/MD5/96 1569s ok 99 /checksum/MD5/97 1569s ok 100 /checksum/MD5/98 1569s ok 101 /checksum/MD5/99 1569s ok 102 /checksum/MD5/100 1569s ok 103 /checksum/MD5/101 1569s ok 104 /checksum/MD5/102 1569s ok 105 /checksum/MD5/103 1569s ok 106 /checksum/MD5/104 1569s ok 107 /checksum/MD5/105 1569s ok 108 /checksum/MD5/106 1569s ok 109 /checksum/MD5/107 1569s ok 110 /checksum/MD5/108 1569s ok 111 /checksum/MD5/109 1569s ok 112 /checksum/MD5/110 1570s ok 113 /checksum/MD5/111 1570s ok 114 /checksum/MD5/112 1570s ok 115 /checksum/MD5/113 1570s ok 116 /checksum/MD5/114 1570s ok 117 /checksum/MD5/115 1570s ok 118 /checksum/MD5/116 1570s ok 119 /checksum/MD5/117 1570s ok 120 /checksum/MD5/118 1570s ok 121 /checksum/MD5/119 1570s ok 122 /checksum/MD5/120 1570s ok 123 /checksum/MD5/121 1570s ok 124 /checksum/MD5/122 1570s ok 125 /checksum/MD5/123 1570s ok 126 /checksum/MD5/124 1570s ok 127 /checksum/MD5/125 1570s ok 128 /checksum/MD5/126 1570s ok 129 /checksum/MD5/127 1570s ok 130 /checksum/MD5/128 1570s ok 131 /checksum/MD5/129 1570s ok 132 /checksum/MD5/130 1570s ok 133 /checksum/MD5/131 1570s ok 134 /checksum/MD5/132 1570s ok 135 /checksum/MD5/133 1570s ok 136 /checksum/MD5/134 1570s ok 137 /checksum/MD5/135 1570s ok 138 /checksum/MD5/136 1570s ok 139 /checksum/MD5/137 1570s ok 140 /checksum/MD5/138 1570s ok 141 /checksum/MD5/139 1570s ok 142 /checksum/MD5/140 1570s ok 143 /checksum/MD5/141 1570s ok 144 /checksum/MD5/142 1570s ok 145 /checksum/MD5/143 1570s ok 146 /checksum/MD5/144 1570s ok 147 /checksum/MD5/145 1570s ok 148 /checksum/MD5/146 1570s ok 149 /checksum/MD5/147 1570s ok 150 /checksum/MD5/148 1570s ok 151 /checksum/MD5/149 1570s ok 152 /checksum/MD5/150 1570s ok 153 /checksum/MD5/151 1570s ok 154 /checksum/MD5/152 1570s ok 155 /checksum/MD5/153 1570s ok 156 /checksum/MD5/154 1570s ok 157 /checksum/MD5/155 1570s ok 158 /checksum/MD5/156 1570s ok 159 /checksum/MD5/157 1570s ok 160 /checksum/MD5/158 1570s ok 161 /checksum/MD5/159 1570s ok 162 /checksum/MD5/160 1570s ok 163 /checksum/MD5/161 1570s ok 164 /checksum/MD5/162 1570s ok 165 /checksum/MD5/163 1570s ok 166 /checksum/MD5/164 1570s ok 167 /checksum/MD5/165 1570s ok 168 /checksum/MD5/166 1570s ok 169 /checksum/MD5/167 1570s ok 170 /checksum/MD5/168 1570s ok 171 /checksum/MD5/169 1570s ok 172 /checksum/MD5/170 1570s ok 173 /checksum/MD5/171 1570s ok 174 /checksum/MD5/172 1570s ok 175 /checksum/MD5/173 1570s ok 176 /checksum/MD5/174 1570s ok 177 /checksum/MD5/175 1570s ok 178 /checksum/MD5/176 1570s ok 179 /checksum/MD5/177 1570s ok 180 /checksum/MD5/178 1570s ok 181 /checksum/MD5/179 1570s ok 182 /checksum/MD5/180 1570s ok 183 /checksum/MD5/181 1570s ok 184 /checksum/MD5/182 1570s ok 185 /checksum/MD5/183 1570s ok 186 /checksum/MD5/string 1570s ok 187 /checksum/MD5/bytes 1570s # Start of reset tests 1570s ok 188 /checksum/MD5/reset/0 1570s ok 189 /checksum/MD5/reset/1 1570s ok 190 /checksum/MD5/reset/2 1570s ok 191 /checksum/MD5/reset/3 1570s ok 192 /checksum/MD5/reset/4 1570s ok 193 /checksum/MD5/reset/5 1570s ok 194 /checksum/MD5/reset/6 1570s ok 195 /checksum/MD5/reset/7 1570s ok 196 /checksum/MD5/reset/8 1570s ok 197 /checksum/MD5/reset/9 1570s ok 198 /checksum/MD5/reset/10 1570s ok 199 /checksum/MD5/reset/11 1570s ok 200 /checksum/MD5/reset/12 1570s ok 201 /checksum/MD5/reset/13 1570s ok 202 /checksum/MD5/reset/14 1570s ok 203 /checksum/MD5/reset/15 1570s ok 204 /checksum/MD5/reset/16 1570s ok 205 /checksum/MD5/reset/17 1570s ok 206 /checksum/MD5/reset/18 1570s ok 207 /checksum/MD5/reset/19 1570s ok 208 /checksum/MD5/reset/20 1570s ok 209 /checksum/MD5/reset/21 1570s ok 210 /checksum/MD5/reset/22 1570s ok 211 /checksum/MD5/reset/23 1570s ok 212 /checksum/MD5/reset/24 1570s ok 213 /checksum/MD5/reset/25 1570s ok 214 /checksum/MD5/reset/26 1570s ok 215 /checksum/MD5/reset/27 1570s ok 216 /checksum/MD5/reset/28 1570s ok 217 /checksum/MD5/reset/29 1570s ok 218 /checksum/MD5/reset/30 1570s ok 219 /checksum/MD5/reset/31 1570s ok 220 /checksum/MD5/reset/32 1570s ok 221 /checksum/MD5/reset/33 1570s ok 222 /checksum/MD5/reset/34 1570s ok 223 /checksum/MD5/reset/35 1570s ok 224 /checksum/MD5/reset/36 1570s ok 225 /checksum/MD5/reset/37 1570s ok 226 /checksum/MD5/reset/38 1570s ok 227 /checksum/MD5/reset/39 1570s ok 228 /checksum/MD5/reset/40 1570s ok 229 /checksum/MD5/reset/41 1570s ok 230 /checksum/MD5/reset/42 1570s ok 231 /checksum/MD5/reset/43 1570s ok 232 /checksum/MD5/reset/44 1570s ok 233 /checksum/MD5/reset/45 1570s ok 234 /checksum/MD5/reset/46 1570s ok 235 /checksum/MD5/reset/47 1570s ok 236 /checksum/MD5/reset/48 1570s ok 237 /checksum/MD5/reset/49 1570s ok 238 /checksum/MD5/reset/50 1570s ok 239 /checksum/MD5/reset/51 1570s ok 240 /checksum/MD5/reset/52 1570s ok 241 /checksum/MD5/reset/53 1570s ok 242 /checksum/MD5/reset/54 1570s ok 243 /checksum/MD5/reset/55 1570s ok 244 /checksum/MD5/reset/56 1570s ok 245 /checksum/MD5/reset/57 1570s ok 246 /checksum/MD5/reset/58 1570s ok 247 /checksum/MD5/reset/59 1570s ok 248 /checksum/MD5/reset/60 1570s ok 249 /checksum/MD5/reset/61 1570s ok 250 /checksum/MD5/reset/62 1570s ok 251 /checksum/MD5/reset/63 1570s ok 252 /checksum/MD5/reset/64 1570s ok 253 /checksum/MD5/reset/65 1570s ok 254 /checksum/MD5/reset/66 1570s ok 255 /checksum/MD5/reset/67 1570s ok 256 /checksum/MD5/reset/68 1570s ok 257 /checksum/MD5/reset/69 1570s ok 258 /checksum/MD5/reset/70 1570s ok 259 /checksum/MD5/reset/71 1570s ok 260 /checksum/MD5/reset/72 1570s ok 261 /checksum/MD5/reset/73 1570s ok 262 /checksum/MD5/reset/74 1570s ok 263 /checksum/MD5/reset/75 1570s ok 264 /checksum/MD5/reset/76 1570s ok 265 /checksum/MD5/reset/77 1570s ok 266 /checksum/MD5/reset/78 1570s ok 267 /checksum/MD5/reset/79 1570s ok 268 /checksum/MD5/reset/80 1570s ok 269 /checksum/MD5/reset/81 1570s ok 270 /checksum/MD5/reset/82 1570s ok 271 /checksum/MD5/reset/83 1570s ok 272 /checksum/MD5/reset/84 1570s ok 273 /checksum/MD5/reset/85 1570s ok 274 /checksum/MD5/reset/86 1570s ok 275 /checksum/MD5/reset/87 1570s ok 276 /checksum/MD5/reset/88 1570s ok 277 /checksum/MD5/reset/89 1570s ok 278 /checksum/MD5/reset/90 1570s ok 279 /checksum/MD5/reset/91 1570s ok 280 /checksum/MD5/reset/92 1570s ok 281 /checksum/MD5/reset/93 1570s ok 282 /checksum/MD5/reset/94 1570s ok 283 /checksum/MD5/reset/95 1570s ok 284 /checksum/MD5/reset/96 1570s ok 285 /checksum/MD5/reset/97 1570s ok 286 /checksum/MD5/reset/98 1570s ok 287 /checksum/MD5/reset/99 1570s ok 288 /checksum/MD5/reset/100 1570s ok 289 /checksum/MD5/reset/101 1570s ok 290 /checksum/MD5/reset/102 1570s ok 291 /checksum/MD5/reset/103 1570s ok 292 /checksum/MD5/reset/104 1570s ok 293 /checksum/MD5/reset/105 1570s ok 294 /checksum/MD5/reset/106 1570s ok 295 /checksum/MD5/reset/107 1570s ok 296 /checksum/MD5/reset/108 1570s ok 297 /checksum/MD5/reset/109 1570s ok 298 /checksum/MD5/reset/110 1570s ok 299 /checksum/MD5/reset/111 1570s ok 300 /checksum/MD5/reset/112 1570s ok 301 /checksum/MD5/reset/113 1570s ok 302 /checksum/MD5/reset/114 1570s ok 303 /checksum/MD5/reset/115 1570s ok 304 /checksum/MD5/reset/116 1570s ok 305 /checksum/MD5/reset/117 1570s ok 306 /checksum/MD5/reset/118 1570s ok 307 /checksum/MD5/reset/119 1570s ok 308 /checksum/MD5/reset/120 1570s ok 309 /checksum/MD5/reset/121 1570s ok 310 /checksum/MD5/reset/122 1570s ok 311 /checksum/MD5/reset/123 1570s ok 312 /checksum/MD5/reset/124 1570s ok 313 /checksum/MD5/reset/125 1570s ok 314 /checksum/MD5/reset/126 1570s ok 315 /checksum/MD5/reset/127 1570s ok 316 /checksum/MD5/reset/128 1570s ok 317 /checksum/MD5/reset/129 1570s ok 318 /checksum/MD5/reset/130 1570s ok 319 /checksum/MD5/reset/131 1570s ok 320 /checksum/MD5/reset/132 1570s ok 321 /checksum/MD5/reset/133 1570s ok 322 /checksum/MD5/reset/134 1570s ok 323 /checksum/MD5/reset/135 1570s ok 324 /checksum/MD5/reset/136 1570s ok 325 /checksum/MD5/reset/137 1570s ok 326 /checksum/MD5/reset/138 1570s ok 327 /checksum/MD5/reset/139 1570s ok 328 /checksum/MD5/reset/140 1570s ok 329 /checksum/MD5/reset/141 1570s ok 330 /checksum/MD5/reset/142 1570s ok 331 /checksum/MD5/reset/143 1570s ok 332 /checksum/MD5/reset/144 1570s ok 333 /checksum/MD5/reset/145 1570s ok 334 /checksum/MD5/reset/146 1570s ok 335 /checksum/MD5/reset/147 1570s ok 336 /checksum/MD5/reset/148 1570s ok 337 /checksum/MD5/reset/149 1570s ok 338 /checksum/MD5/reset/150 1570s ok 339 /checksum/MD5/reset/151 1570s ok 340 /checksum/MD5/reset/152 1570s ok 341 /checksum/MD5/reset/153 1570s ok 342 /checksum/MD5/reset/154 1570s ok 343 /checksum/MD5/reset/155 1570s ok 344 /checksum/MD5/reset/156 1570s ok 345 /checksum/MD5/reset/157 1570s ok 346 /checksum/MD5/reset/158 1570s ok 347 /checksum/MD5/reset/159 1570s ok 348 /checksum/MD5/reset/160 1570s ok 349 /checksum/MD5/reset/161 1570s ok 350 /checksum/MD5/reset/162 1570s ok 351 /checksum/MD5/reset/163 1570s ok 352 /checksum/MD5/reset/164 1570s ok 353 /checksum/MD5/reset/165 1570s ok 354 /checksum/MD5/reset/166 1570s ok 355 /checksum/MD5/reset/167 1570s ok 356 /checksum/MD5/reset/168 1570s ok 357 /checksum/MD5/reset/169 1570s ok 358 /checksum/MD5/reset/170 1570s ok 359 /checksum/MD5/reset/171 1570s ok 360 /checksum/MD5/reset/172 1570s ok 361 /checksum/MD5/reset/173 1570s ok 362 /checksum/MD5/reset/174 1570s ok 363 /checksum/MD5/reset/175 1570s ok 364 /checksum/MD5/reset/176 1570s ok 365 /checksum/MD5/reset/177 1570s ok 366 /checksum/MD5/reset/178 1570s ok 367 /checksum/MD5/reset/179 1570s ok 368 /checksum/MD5/reset/180 1570s ok 369 /checksum/MD5/reset/181 1570s ok 370 /checksum/MD5/reset/182 1570s ok 371 /checksum/MD5/reset/183 1570s # End of reset tests 1570s # End of MD5 tests 1570s # Start of SHA1 tests 1570s ok 372 /checksum/SHA1/0 1570s ok 373 /checksum/SHA1/1 1570s ok 374 /checksum/SHA1/2 1570s ok 375 /checksum/SHA1/3 1570s ok 376 /checksum/SHA1/4 1570s ok 377 /checksum/SHA1/5 1570s ok 378 /checksum/SHA1/6 1570s ok 379 /checksum/SHA1/7 1570s ok 380 /checksum/SHA1/8 1570s ok 381 /checksum/SHA1/9 1570s ok 382 /checksum/SHA1/10 1570s ok 383 /checksum/SHA1/11 1570s ok 384 /checksum/SHA1/12 1570s ok 385 /checksum/SHA1/13 1570s ok 386 /checksum/SHA1/14 1570s ok 387 /checksum/SHA1/15 1570s ok 388 /checksum/SHA1/16 1570s ok 389 /checksum/SHA1/17 1570s ok 390 /checksum/SHA1/18 1570s ok 391 /checksum/SHA1/19 1570s ok 392 /checksum/SHA1/20 1570s ok 393 /checksum/SHA1/21 1570s ok 394 /checksum/SHA1/22 1570s ok 395 /checksum/SHA1/23 1570s ok 396 /checksum/SHA1/24 1570s ok 397 /checksum/SHA1/25 1570s ok 398 /checksum/SHA1/26 1570s ok 399 /checksum/SHA1/27 1570s ok 400 /checksum/SHA1/28 1570s ok 401 /checksum/SHA1/29 1570s ok 402 /checksum/SHA1/30 1570s ok 403 /checksum/SHA1/31 1570s ok 404 /checksum/SHA1/32 1570s ok 405 /checksum/SHA1/33 1570s ok 406 /checksum/SHA1/34 1570s ok 407 /checksum/SHA1/35 1570s ok 408 /checksum/SHA1/36 1570s ok 409 /checksum/SHA1/37 1570s ok 410 /checksum/SHA1/38 1570s ok 411 /checksum/SHA1/39 1570s ok 412 /checksum/SHA1/40 1570s ok 413 /checksum/SHA1/41 1570s ok 414 /checksum/SHA1/42 1570s ok 415 /checksum/SHA1/43 1570s ok 416 /checksum/SHA1/44 1570s ok 417 /checksum/SHA1/45 1570s ok 418 /checksum/SHA1/46 1570s ok 419 /checksum/SHA1/47 1570s ok 420 /checksum/SHA1/48 1570s ok 421 /checksum/SHA1/49 1570s ok 422 /checksum/SHA1/50 1570s ok 423 /checksum/SHA1/51 1570s ok 424 /checksum/SHA1/52 1570s ok 425 /checksum/SHA1/53 1570s ok 426 /checksum/SHA1/54 1570s ok 427 /checksum/SHA1/55 1570s ok 428 /checksum/SHA1/56 1570s ok 429 /checksum/SHA1/57 1570s ok 430 /checksum/SHA1/58 1570s ok 431 /checksum/SHA1/59 1570s ok 432 /checksum/SHA1/60 1570s ok 433 /checksum/SHA1/61 1570s ok 434 /checksum/SHA1/62 1570s ok 435 /checksum/SHA1/63 1570s ok 436 /checksum/SHA1/64 1570s ok 437 /checksum/SHA1/65 1570s ok 438 /checksum/SHA1/66 1570s ok 439 /checksum/SHA1/67 1570s ok 440 /checksum/SHA1/68 1570s ok 441 /checksum/SHA1/69 1570s ok 442 /checksum/SHA1/70 1570s ok 443 /checksum/SHA1/71 1570s ok 444 /checksum/SHA1/72 1570s ok 445 /checksum/SHA1/73 1570s ok 446 /checksum/SHA1/74 1570s ok 447 /checksum/SHA1/75 1570s ok 448 /checksum/SHA1/76 1570s ok 449 /checksum/SHA1/77 1570s ok 450 /checksum/SHA1/78 1570s ok 451 /checksum/SHA1/79 1570s ok 452 /checksum/SHA1/80 1570s ok 453 /checksum/SHA1/81 1570s ok 454 /checksum/SHA1/82 1570s ok 455 /checksum/SHA1/83 1570s ok 456 /checksum/SHA1/84 1570s ok 457 /checksum/SHA1/85 1570s ok 458 /checksum/SHA1/86 1570s ok 459 /checksum/SHA1/87 1570s ok 460 /checksum/SHA1/88 1570s ok 461 /checksum/SHA1/89 1570s ok 462 /checksum/SHA1/90 1570s ok 463 /checksum/SHA1/91 1570s ok 464 /checksum/SHA1/92 1570s ok 465 /checksum/SHA1/93 1570s ok 466 /checksum/SHA1/94 1570s ok 467 /checksum/SHA1/95 1570s ok 468 /checksum/SHA1/96 1570s ok 469 /checksum/SHA1/97 1570s ok 470 /checksum/SHA1/98 1570s ok 471 /checksum/SHA1/99 1570s ok 472 /checksum/SHA1/100 1570s ok 473 /checksum/SHA1/101 1570s ok 474 /checksum/SHA1/102 1570s ok 475 /checksum/SHA1/103 1570s ok 476 /checksum/SHA1/104 1570s ok 477 /checksum/SHA1/105 1570s ok 478 /checksum/SHA1/106 1570s ok 479 /checksum/SHA1/107 1570s ok 480 /checksum/SHA1/108 1570s ok 481 /checksum/SHA1/109 1570s ok 482 /checksum/SHA1/110 1570s ok 483 /checksum/SHA1/111 1570s ok 484 /checksum/SHA1/112 1570s ok 485 /checksum/SHA1/113 1570s ok 486 /checksum/SHA1/114 1570s ok 487 /checksum/SHA1/115 1570s ok 488 /checksum/SHA1/116 1570s ok 489 /checksum/SHA1/117 1570s ok 490 /checksum/SHA1/118 1570s ok 491 /checksum/SHA1/119 1570s ok 492 /checksum/SHA1/120 1570s ok 493 /checksum/SHA1/121 1570s ok 494 /checksum/SHA1/122 1570s ok 495 /checksum/SHA1/123 1570s ok 496 /checksum/SHA1/124 1570s ok 497 /checksum/SHA1/125 1570s ok 498 /checksum/SHA1/126 1570s ok 499 /checksum/SHA1/127 1570s ok 500 /checksum/SHA1/128 1570s ok 501 /checksum/SHA1/129 1570s ok 502 /checksum/SHA1/130 1570s ok 503 /checksum/SHA1/131 1570s ok 504 /checksum/SHA1/132 1570s ok 505 /checksum/SHA1/133 1570s ok 506 /checksum/SHA1/134 1570s ok 507 /checksum/SHA1/135 1570s ok 508 /checksum/SHA1/136 1570s ok 509 /checksum/SHA1/137 1570s ok 510 /checksum/SHA1/138 1570s ok 511 /checksum/SHA1/139 1570s ok 512 /checksum/SHA1/140 1570s ok 513 /checksum/SHA1/141 1570s ok 514 /checksum/SHA1/142 1570s ok 515 /checksum/SHA1/143 1570s ok 516 /checksum/SHA1/144 1570s ok 517 /checksum/SHA1/145 1570s ok 518 /checksum/SHA1/146 1570s ok 519 /checksum/SHA1/147 1570s ok 520 /checksum/SHA1/148 1570s ok 521 /checksum/SHA1/149 1570s ok 522 /checksum/SHA1/150 1570s ok 523 /checksum/SHA1/151 1570s ok 524 /checksum/SHA1/152 1570s ok 525 /checksum/SHA1/153 1570s ok 526 /checksum/SHA1/154 1570s ok 527 /checksum/SHA1/155 1570s ok 528 /checksum/SHA1/156 1570s ok 529 /checksum/SHA1/157 1570s ok 530 /checksum/SHA1/158 1570s ok 531 /checksum/SHA1/159 1570s ok 532 /checksum/SHA1/160 1570s ok 533 /checksum/SHA1/161 1570s ok 534 /checksum/SHA1/162 1570s ok 535 /checksum/SHA1/163 1570s ok 536 /checksum/SHA1/164 1570s ok 537 /checksum/SHA1/165 1570s ok 538 /checksum/SHA1/166 1570s ok 539 /checksum/SHA1/167 1570s ok 540 /checksum/SHA1/168 1570s ok 541 /checksum/SHA1/169 1570s ok 542 /checksum/SHA1/170 1570s ok 543 /checksum/SHA1/171 1570s ok 544 /checksum/SHA1/172 1570s ok 545 /checksum/SHA1/173 1570s ok 546 /checksum/SHA1/174 1570s ok 547 /checksum/SHA1/175 1570s ok 548 /checksum/SHA1/176 1570s ok 549 /checksum/SHA1/177 1570s ok 550 /checksum/SHA1/178 1570s ok 551 /checksum/SHA1/179 1570s ok 552 /checksum/SHA1/180 1570s ok 553 /checksum/SHA1/181 1570s ok 554 /checksum/SHA1/182 1570s ok 555 /checksum/SHA1/183 1570s ok 556 /checksum/SHA1/string 1570s ok 557 /checksum/SHA1/bytes 1570s # Start of reset tests 1570s ok 558 /checksum/SHA1/reset/0 1570s ok 559 /checksum/SHA1/reset/1 1570s ok 560 /checksum/SHA1/reset/2 1570s ok 561 /checksum/SHA1/reset/3 1570s ok 562 /checksum/SHA1/reset/4 1570s ok 563 /checksum/SHA1/reset/5 1570s ok 564 /checksum/SHA1/reset/6 1570s ok 565 /checksum/SHA1/reset/7 1570s ok 566 /checksum/SHA1/reset/8 1570s ok 567 /checksum/SHA1/reset/9 1570s ok 568 /checksum/SHA1/reset/10 1570s ok 569 /checksum/SHA1/reset/11 1570s ok 570 /checksum/SHA1/reset/12 1570s ok 571 /checksum/SHA1/reset/13 1570s ok 572 /checksum/SHA1/reset/14 1570s ok 573 /checksum/SHA1/reset/15 1570s ok 574 /checksum/SHA1/reset/16 1570s ok 575 /checksum/SHA1/reset/17 1570s ok 576 /checksum/SHA1/reset/18 1570s ok 577 /checksum/SHA1/reset/19 1570s ok 578 /checksum/SHA1/reset/20 1570s ok 579 /checksum/SHA1/reset/21 1570s ok 580 /checksum/SHA1/reset/22 1570s ok 581 /checksum/SHA1/reset/23 1570s ok 582 /checksum/SHA1/reset/24 1570s ok 583 /checksum/SHA1/reset/25 1570s ok 584 /checksum/SHA1/reset/26 1570s ok 585 /checksum/SHA1/reset/27 1570s ok 586 /checksum/SHA1/reset/28 1570s ok 587 /checksum/SHA1/reset/29 1570s ok 588 /checksum/SHA1/reset/30 1570s ok 589 /checksum/SHA1/reset/31 1570s ok 590 /checksum/SHA1/reset/32 1570s ok 591 /checksum/SHA1/reset/33 1570s ok 592 /checksum/SHA1/reset/34 1570s ok 593 /checksum/SHA1/reset/35 1570s ok 594 /checksum/SHA1/reset/36 1570s ok 595 /checksum/SHA1/reset/37 1570s ok 596 /checksum/SHA1/reset/38 1570s ok 597 /checksum/SHA1/reset/39 1570s ok 598 /checksum/SHA1/reset/40 1570s ok 599 /checksum/SHA1/reset/41 1570s ok 600 /checksum/SHA1/reset/42 1570s ok 601 /checksum/SHA1/reset/43 1570s ok 602 /checksum/SHA1/reset/44 1570s ok 603 /checksum/SHA1/reset/45 1570s ok 604 /checksum/SHA1/reset/46 1570s ok 605 /checksum/SHA1/reset/47 1570s ok 606 /checksum/SHA1/reset/48 1570s ok 607 /checksum/SHA1/reset/49 1570s ok 608 /checksum/SHA1/reset/50 1570s ok 609 /checksum/SHA1/reset/51 1570s ok 610 /checksum/SHA1/reset/52 1570s ok 611 /checksum/SHA1/reset/53 1570s ok 612 /checksum/SHA1/reset/54 1570s ok 613 /checksum/SHA1/reset/55 1570s ok 614 /checksum/SHA1/reset/56 1570s ok 615 /checksum/SHA1/reset/57 1570s ok 616 /checksum/SHA1/reset/58 1570s ok 617 /checksum/SHA1/reset/59 1570s ok 618 /checksum/SHA1/reset/60 1570s ok 619 /checksum/SHA1/reset/61 1570s ok 620 /checksum/SHA1/reset/62 1570s ok 621 /checksum/SHA1/reset/63 1570s ok 622 /checksum/SHA1/reset/64 1570s ok 623 /checksum/SHA1/reset/65 1570s ok 624 /checksum/SHA1/reset/66 1570s ok 625 /checksum/SHA1/reset/67 1570s ok 626 /checksum/SHA1/reset/68 1570s ok 627 /checksum/SHA1/reset/69 1570s ok 628 /checksum/SHA1/reset/70 1570s ok 629 /checksum/SHA1/reset/71 1570s ok 630 /checksum/SHA1/reset/72 1570s ok 631 /checksum/SHA1/reset/73 1570s ok 632 /checksum/SHA1/reset/74 1570s ok 633 /checksum/SHA1/reset/75 1570s ok 634 /checksum/SHA1/reset/76 1570s ok 635 /checksum/SHA1/reset/77 1570s ok 636 /checksum/SHA1/reset/78 1570s ok 637 /checksum/SHA1/reset/79 1570s ok 638 /checksum/SHA1/reset/80 1570s ok 639 /checksum/SHA1/reset/81 1570s ok 640 /checksum/SHA1/reset/82 1570s ok 641 /checksum/SHA1/reset/83 1570s ok 642 /checksum/SHA1/reset/84 1570s ok 643 /checksum/SHA1/reset/85 1570s ok 644 /checksum/SHA1/reset/86 1570s ok 645 /checksum/SHA1/reset/87 1570s ok 646 /checksum/SHA1/reset/88 1570s ok 647 /checksum/SHA1/reset/89 1570s ok 648 /checksum/SHA1/reset/90 1570s ok 649 /checksum/SHA1/reset/91 1570s ok 650 /checksum/SHA1/reset/92 1570s ok 651 /checksum/SHA1/reset/93 1570s ok 652 /checksum/SHA1/reset/94 1570s ok 653 /checksum/SHA1/reset/95 1570s ok 654 /checksum/SHA1/reset/96 1570s ok 655 /checksum/SHA1/reset/97 1570s ok 656 /checksum/SHA1/reset/98 1570s ok 657 /checksum/SHA1/reset/99 1570s ok 658 /checksum/SHA1/reset/100 1570s ok 659 /checksum/SHA1/reset/101 1570s ok 660 /checksum/SHA1/reset/102 1570s ok 661 /checksum/SHA1/reset/103 1570s ok 662 /checksum/SHA1/reset/104 1570s ok 663 /checksum/SHA1/reset/105 1570s ok 664 /checksum/SHA1/reset/106 1570s ok 665 /checksum/SHA1/reset/107 1570s ok 666 /checksum/SHA1/reset/108 1570s ok 667 /checksum/SHA1/reset/109 1570s ok 668 /checksum/SHA1/reset/110 1570s ok 669 /checksum/SHA1/reset/111 1570s ok 670 /checksum/SHA1/reset/112 1570s ok 671 /checksum/SHA1/reset/113 1570s ok 672 /checksum/SHA1/reset/114 1570s ok 673 /checksum/SHA1/reset/115 1570s ok 674 /checksum/SHA1/reset/116 1570s ok 675 /checksum/SHA1/reset/117 1570s ok 676 /checksum/SHA1/reset/118 1570s ok 677 /checksum/SHA1/reset/119 1570s ok 678 /checksum/SHA1/reset/120 1570s ok 679 /checksum/SHA1/reset/121 1570s ok 680 /checksum/SHA1/reset/122 1570s ok 681 /checksum/SHA1/reset/123 1570s ok 682 /checksum/SHA1/reset/124 1570s ok 683 /checksum/SHA1/reset/125 1570s ok 684 /checksum/SHA1/reset/126 1570s ok 685 /checksum/SHA1/reset/127 1570s ok 686 /checksum/SHA1/reset/128 1570s ok 687 /checksum/SHA1/reset/129 1570s ok 688 /checksum/SHA1/reset/130 1570s ok 689 /checksum/SHA1/reset/131 1570s ok 690 /checksum/SHA1/reset/132 1570s ok 691 /checksum/SHA1/reset/133 1570s ok 692 /checksum/SHA1/reset/134 1570s ok 693 /checksum/SHA1/reset/135 1570s ok 694 /checksum/SHA1/reset/136 1570s ok 695 /checksum/SHA1/reset/137 1570s ok 696 /checksum/SHA1/reset/138 1570s ok 697 /checksum/SHA1/reset/139 1570s ok 698 /checksum/SHA1/reset/140 1570s ok 699 /checksum/SHA1/reset/141 1570s ok 700 /checksum/SHA1/reset/142 1570s ok 701 /checksum/SHA1/reset/143 1570s ok 702 /checksum/SHA1/reset/144 1570s ok 703 /checksum/SHA1/reset/145 1570s ok 704 /checksum/SHA1/reset/146 1570s ok 705 /checksum/SHA1/reset/147 1570s ok 706 /checksum/SHA1/reset/148 1570s ok 707 /checksum/SHA1/reset/149 1570s ok 708 /checksum/SHA1/reset/150 1570s ok 709 /checksum/SHA1/reset/151 1570s ok 710 /checksum/SHA1/reset/152 1570s ok 711 /checksum/SHA1/reset/153 1570s ok 712 /checksum/SHA1/reset/154 1570s ok 713 /checksum/SHA1/reset/155 1570s ok 714 /checksum/SHA1/reset/156 1570s ok 715 /checksum/SHA1/reset/157 1570s ok 716 /checksum/SHA1/reset/158 1570s ok 717 /checksum/SHA1/reset/159 1570s ok 718 /checksum/SHA1/reset/160 1570s ok 719 /checksum/SHA1/reset/161 1570s ok 720 /checksum/SHA1/reset/162 1570s ok 721 /checksum/SHA1/reset/163 1570s ok 722 /checksum/SHA1/reset/164 1570s ok 723 /checksum/SHA1/reset/165 1570s ok 724 /checksum/SHA1/reset/166 1570s ok 725 /checksum/SHA1/reset/167 1570s ok 726 /checksum/SHA1/reset/168 1570s ok 727 /checksum/SHA1/reset/169 1570s ok 728 /checksum/SHA1/reset/170 1570s ok 729 /checksum/SHA1/reset/171 1570s ok 730 /checksum/SHA1/reset/172 1570s ok 731 /checksum/SHA1/reset/173 1570s ok 732 /checksum/SHA1/reset/174 1570s ok 733 /checksum/SHA1/reset/175 1570s ok 734 /checksum/SHA1/reset/176 1570s ok 735 /checksum/SHA1/reset/177 1570s ok 736 /checksum/SHA1/reset/178 1570s ok 737 /checksum/SHA1/reset/179 1570s ok 738 /checksum/SHA1/reset/180 1570s ok 739 /checksum/SHA1/reset/181 1570s ok 740 /checksum/SHA1/reset/182 1570s ok 741 /checksum/SHA1/reset/183 1570s # End of reset tests 1570s # End of SHA1 tests 1570s # Start of SHA256 tests 1570s ok 742 /checksum/SHA256/0 1570s ok 743 /checksum/SHA256/1 1570s ok 744 /checksum/SHA256/2 1570s ok 745 /checksum/SHA256/3 1570s ok 746 /checksum/SHA256/4 1570s ok 747 /checksum/SHA256/5 1570s ok 748 /checksum/SHA256/6 1570s ok 749 /checksum/SHA256/7 1570s ok 750 /checksum/SHA256/8 1570s ok 751 /checksum/SHA256/9 1570s ok 752 /checksum/SHA256/10 1570s ok 753 /checksum/SHA256/11 1570s ok 754 /checksum/SHA256/12 1570s ok 755 /checksum/SHA256/13 1570s ok 756 /checksum/SHA256/14 1570s ok 757 /checksum/SHA256/15 1570s ok 758 /checksum/SHA256/16 1570s ok 759 /checksum/SHA256/17 1570s ok 760 /checksum/SHA256/18 1570s ok 761 /checksum/SHA256/19 1570s ok 762 /checksum/SHA256/20 1570s ok 763 /checksum/SHA256/21 1570s ok 764 /checksum/SHA256/22 1570s ok 765 /checksum/SHA256/23 1570s ok 766 /checksum/SHA256/24 1570s ok 767 /checksum/SHA256/25 1570s ok 768 /checksum/SHA256/26 1570s ok 769 /checksum/SHA256/27 1570s ok 770 /checksum/SHA256/28 1570s ok 771 /checksum/SHA256/29 1570s ok 772 /checksum/SHA256/30 1570s ok 773 /checksum/SHA256/31 1570s ok 774 /checksum/SHA256/32 1570s ok 775 /checksum/SHA256/33 1570s ok 776 /checksum/SHA256/34 1570s ok 777 /checksum/SHA256/35 1570s ok 778 /checksum/SHA256/36 1570s ok 779 /checksum/SHA256/37 1570s ok 780 /checksum/SHA256/38 1570s ok 781 /checksum/SHA256/39 1570s ok 782 /checksum/SHA256/40 1570s ok 783 /checksum/SHA256/41 1570s ok 784 /checksum/SHA256/42 1570s ok 785 /checksum/SHA256/43 1570s ok 786 /checksum/SHA256/44 1570s ok 787 /checksum/SHA256/45 1570s ok 788 /checksum/SHA256/46 1570s ok 789 /checksum/SHA256/47 1570s ok 790 /checksum/SHA256/48 1570s ok 791 /checksum/SHA256/49 1570s ok 792 /checksum/SHA256/50 1570s ok 793 /checksum/SHA256/51 1570s ok 794 /checksum/SHA256/52 1570s ok 795 /checksum/SHA256/53 1570s ok 796 /checksum/SHA256/54 1570s ok 797 /checksum/SHA256/55 1570s ok 798 /checksum/SHA256/56 1570s ok 799 /checksum/SHA256/57 1570s ok 800 /checksum/SHA256/58 1570s ok 801 /checksum/SHA256/59 1570s ok 802 /checksum/SHA256/60 1570s ok 803 /checksum/SHA256/61 1570s ok 804 /checksum/SHA256/62 1570s ok 805 /checksum/SHA256/63 1570s ok 806 /checksum/SHA256/64 1570s ok 807 /checksum/SHA256/65 1570s ok 808 /checksum/SHA256/66 1570s ok 809 /checksum/SHA256/67 1570s ok 810 /checksum/SHA256/68 1570s ok 811 /checksum/SHA256/69 1570s ok 812 /checksum/SHA256/70 1570s ok 813 /checksum/SHA256/71 1570s ok 814 /checksum/SHA256/72 1570s ok 815 /checksum/SHA256/73 1570s ok 816 /checksum/SHA256/74 1570s ok 817 /checksum/SHA256/75 1570s ok 818 /checksum/SHA256/76 1570s ok 819 /checksum/SHA256/77 1570s ok 820 /checksum/SHA256/78 1570s ok 821 /checksum/SHA256/79 1570s ok 822 /checksum/SHA256/80 1570s ok 823 /checksum/SHA256/81 1570s ok 824 /checksum/SHA256/82 1570s ok 825 /checksum/SHA256/83 1570s ok 826 /checksum/SHA256/84 1570s ok 827 /checksum/SHA256/85 1570s ok 828 /checksum/SHA256/86 1570s ok 829 /checksum/SHA256/87 1570s ok 830 /checksum/SHA256/88 1570s ok 831 /checksum/SHA256/89 1570s ok 832 /checksum/SHA256/90 1570s ok 833 /checksum/SHA256/91 1570s ok 834 /checksum/SHA256/92 1570s ok 835 /checksum/SHA256/93 1570s ok 836 /checksum/SHA256/94 1570s ok 837 /checksum/SHA256/95 1570s ok 838 /checksum/SHA256/96 1570s ok 839 /checksum/SHA256/97 1570s ok 840 /checksum/SHA256/98 1570s ok 841 /checksum/SHA256/99 1570s ok 842 /checksum/SHA256/100 1570s ok 843 /checksum/SHA256/101 1570s ok 844 /checksum/SHA256/102 1570s ok 845 /checksum/SHA256/103 1570s ok 846 /checksum/SHA256/104 1570s ok 847 /checksum/SHA256/105 1570s ok 848 /checksum/SHA256/106 1570s ok 849 /checksum/SHA256/107 1570s ok 850 /checksum/SHA256/108 1570s ok 851 /checksum/SHA256/109 1570s ok 852 /checksum/SHA256/110 1570s ok 853 /checksum/SHA256/111 1570s ok 854 /checksum/SHA256/112 1570s ok 855 /checksum/SHA256/113 1570s ok 856 /checksum/SHA256/114 1570s ok 857 /checksum/SHA256/115 1570s ok 858 /checksum/SHA256/116 1570s ok 859 /checksum/SHA256/117 1570s ok 860 /checksum/SHA256/118 1570s ok 861 /checksum/SHA256/119 1570s ok 862 /checksum/SHA256/120 1570s ok 863 /checksum/SHA256/121 1570s ok 864 /checksum/SHA256/122 1570s ok 865 /checksum/SHA256/123 1570s ok 866 /checksum/SHA256/124 1570s ok 867 /checksum/SHA256/125 1570s ok 868 /checksum/SHA256/126 1570s ok 869 /checksum/SHA256/127 1570s ok 870 /checksum/SHA256/128 1570s ok 871 /checksum/SHA256/129 1570s ok 872 /checksum/SHA256/130 1570s ok 873 /checksum/SHA256/131 1570s ok 874 /checksum/SHA256/132 1570s ok 875 /checksum/SHA256/133 1570s ok 876 /checksum/SHA256/134 1570s ok 877 /checksum/SHA256/135 1570s ok 878 /checksum/SHA256/136 1570s ok 879 /checksum/SHA256/137 1570s ok 880 /checksum/SHA256/138 1570s ok 881 /checksum/SHA256/139 1570s ok 882 /checksum/SHA256/140 1570s ok 883 /checksum/SHA256/141 1570s ok 884 /checksum/SHA256/142 1570s ok 885 /checksum/SHA256/143 1570s ok 886 /checksum/SHA256/144 1570s ok 887 /checksum/SHA256/145 1570s ok 888 /checksum/SHA256/146 1570s ok 889 /checksum/SHA256/147 1570s ok 890 /checksum/SHA256/148 1570s ok 891 /checksum/SHA256/149 1570s ok 892 /checksum/SHA256/150 1570s ok 893 /checksum/SHA256/151 1570s ok 894 /checksum/SHA256/152 1570s ok 895 /checksum/SHA256/153 1570s ok 896 /checksum/SHA256/154 1570s ok 897 /checksum/SHA256/155 1570s ok 898 /checksum/SHA256/156 1570s ok 899 /checksum/SHA256/157 1570s ok 900 /checksum/SHA256/158 1570s ok 901 /checksum/SHA256/159 1570s ok 902 /checksum/SHA256/160 1570s ok 903 /checksum/SHA256/161 1570s ok 904 /checksum/SHA256/162 1570s ok 905 /checksum/SHA256/163 1570s ok 906 /checksum/SHA256/164 1570s ok 907 /checksum/SHA256/165 1570s ok 908 /checksum/SHA256/166 1570s ok 909 /checksum/SHA256/167 1570s ok 910 /checksum/SHA256/168 1570s ok 911 /checksum/SHA256/169 1570s ok 912 /checksum/SHA256/170 1570s ok 913 /checksum/SHA256/171 1570s ok 914 /checksum/SHA256/172 1570s ok 915 /checksum/SHA256/173 1570s ok 916 /checksum/SHA256/174 1570s ok 917 /checksum/SHA256/175 1570s ok 918 /checksum/SHA256/176 1570s ok 919 /checksum/SHA256/177 1570s ok 920 /checksum/SHA256/178 1570s ok 921 /checksum/SHA256/179 1570s ok 922 /checksum/SHA256/180 1570s ok 923 /checksum/SHA256/181 1570s ok 924 /checksum/SHA256/182 1570s ok 925 /checksum/SHA256/183 1570s ok 926 /checksum/SHA256/string 1570s ok 927 /checksum/SHA256/bytes 1570s # Start of reset tests 1570s ok 928 /checksum/SHA256/reset/0 1570s ok 929 /checksum/SHA256/reset/1 1570s ok 930 /checksum/SHA256/reset/2 1570s ok 931 /checksum/SHA256/reset/3 1570s ok 932 /checksum/SHA256/reset/4 1570s ok 933 /checksum/SHA256/reset/5 1570s ok 934 /checksum/SHA256/reset/6 1570s ok 935 /checksum/SHA256/reset/7 1570s ok 936 /checksum/SHA256/reset/8 1570s ok 937 /checksum/SHA256/reset/9 1570s ok 938 /checksum/SHA256/reset/10 1570s ok 939 /checksum/SHA256/reset/11 1570s ok 940 /checksum/SHA256/reset/12 1570s ok 941 /checksum/SHA256/reset/13 1570s ok 942 /checksum/SHA256/reset/14 1570s ok 943 /checksum/SHA256/reset/15 1570s ok 944 /checksum/SHA256/reset/16 1570s ok 945 /checksum/SHA256/reset/17 1570s ok 946 /checksum/SHA256/reset/18 1570s ok 947 /checksum/SHA256/reset/19 1570s ok 948 /checksum/SHA256/reset/20 1570s ok 949 /checksum/SHA256/reset/21 1570s ok 950 /checksum/SHA256/reset/22 1570s ok 951 /checksum/SHA256/reset/23 1570s ok 952 /checksum/SHA256/reset/24 1570s ok 953 /checksum/SHA256/reset/25 1570s ok 954 /checksum/SHA256/reset/26 1570s ok 955 /checksum/SHA256/reset/27 1570s ok 956 /checksum/SHA256/reset/28 1570s ok 957 /checksum/SHA256/reset/29 1570s ok 958 /checksum/SHA256/reset/30 1570s ok 959 /checksum/SHA256/reset/31 1570s ok 960 /checksum/SHA256/reset/32 1570s ok 961 /checksum/SHA256/reset/33 1570s ok 962 /checksum/SHA256/reset/34 1570s ok 963 /checksum/SHA256/reset/35 1570s ok 964 /checksum/SHA256/reset/36 1570s ok 965 /checksum/SHA256/reset/37 1570s ok 966 /checksum/SHA256/reset/38 1570s ok 967 /checksum/SHA256/reset/39 1570s ok 968 /checksum/SHA256/reset/40 1570s ok 969 /checksum/SHA256/reset/41 1570s ok 970 /checksum/SHA256/reset/42 1570s ok 971 /checksum/SHA256/reset/43 1570s ok 972 /checksum/SHA256/reset/44 1570s ok 973 /checksum/SHA256/reset/45 1570s ok 974 /checksum/SHA256/reset/46 1570s ok 975 /checksum/SHA256/reset/47 1570s ok 976 /checksum/SHA256/reset/48 1570s ok 977 /checksum/SHA256/reset/49 1570s ok 978 /checksum/SHA256/reset/50 1570s ok 979 /checksum/SHA256/reset/51 1570s ok 980 /checksum/SHA256/reset/52 1570s ok 981 /checksum/SHA256/reset/53 1570s ok 982 /checksum/SHA256/reset/54 1570s ok 983 /checksum/SHA256/reset/55 1570s ok 984 /checksum/SHA256/reset/56 1570s ok 985 /checksum/SHA256/reset/57 1570s ok 986 /checksum/SHA256/reset/58 1570s ok 987 /checksum/SHA256/reset/59 1570s ok 988 /checksum/SHA256/reset/60 1570s ok 989 /checksum/SHA256/reset/61 1570s ok 990 /checksum/SHA256/reset/62 1570s ok 991 /checksum/SHA256/reset/63 1570s ok 992 /checksum/SHA256/reset/64 1570s ok 993 /checksum/SHA256/reset/65 1570s ok 994 /checksum/SHA256/reset/66 1570s ok 995 /checksum/SHA256/reset/67 1570s ok 996 /checksum/SHA256/reset/68 1570s ok 997 /checksum/SHA256/reset/69 1570s ok 998 /checksum/SHA256/reset/70 1570s ok 999 /checksum/SHA256/reset/71 1570s ok 1000 /checksum/SHA256/reset/72 1570s ok 1001 /checksum/SHA256/reset/73 1570s ok 1002 /checksum/SHA256/reset/74 1570s ok 1003 /checksum/SHA256/reset/75 1570s ok 1004 /checksum/SHA256/reset/76 1570s ok 1005 /checksum/SHA256/reset/77 1570s ok 1006 /checksum/SHA256/reset/78 1570s ok 1007 /checksum/SHA256/reset/79 1570s ok 1008 /checksum/SHA256/reset/80 1570s ok 1009 /checksum/SHA256/reset/81 1570s ok 1010 /checksum/SHA256/reset/82 1570s ok 1011 /checksum/SHA256/reset/83 1570s ok 1012 /checksum/SHA256/reset/84 1570s ok 1013 /checksum/SHA256/reset/85 1570s ok 1014 /checksum/SHA256/reset/86 1570s ok 1015 /checksum/SHA256/reset/87 1570s ok 1016 /checksum/SHA256/reset/88 1570s ok 1017 /checksum/SHA256/reset/89 1570s ok 1018 /checksum/SHA256/reset/90 1570s ok 1019 /checksum/SHA256/reset/91 1570s ok 1020 /checksum/SHA256/reset/92 1570s ok 1021 /checksum/SHA256/reset/93 1570s ok 1022 /checksum/SHA256/reset/94 1570s ok 1023 /checksum/SHA256/reset/95 1570s ok 1024 /checksum/SHA256/reset/96 1570s ok 1025 /checksum/SHA256/reset/97 1570s ok 1026 /checksum/SHA256/reset/98 1570s ok 1027 /checksum/SHA256/reset/99 1570s ok 1028 /checksum/SHA256/reset/100 1570s ok 1029 /checksum/SHA256/reset/101 1570s ok 1030 /checksum/SHA256/reset/102 1570s ok 1031 /checksum/SHA256/reset/103 1570s ok 1032 /checksum/SHA256/reset/104 1570s ok 1033 /checksum/SHA256/reset/105 1570s ok 1034 /checksum/SHA256/reset/106 1570s ok 1035 /checksum/SHA256/reset/107 1570s ok 1036 /checksum/SHA256/reset/108 1570s ok 1037 /checksum/SHA256/reset/109 1570s ok 1038 /checksum/SHA256/reset/110 1570s ok 1039 /checksum/SHA256/reset/111 1570s ok 1040 /checksum/SHA256/reset/112 1570s ok 1041 /checksum/SHA256/reset/113 1570s ok 1042 /checksum/SHA256/reset/114 1570s ok 1043 /checksum/SHA256/reset/115 1570s ok 1044 /checksum/SHA256/reset/116 1570s ok 1045 /checksum/SHA256/reset/117 1570s ok 1046 /checksum/SHA256/reset/118 1570s ok 1047 /checksum/SHA256/reset/119 1570s ok 1048 /checksum/SHA256/reset/120 1570s ok 1049 /checksum/SHA256/reset/121 1570s ok 1050 /checksum/SHA256/reset/122 1570s ok 1051 /checksum/SHA256/reset/123 1570s ok 1052 /checksum/SHA256/reset/124 1570s ok 1053 /checksum/SHA256/reset/125 1570s ok 1054 /checksum/SHA256/reset/126 1570s ok 1055 /checksum/SHA256/reset/127 1570s ok 1056 /checksum/SHA256/reset/128 1570s ok 1057 /checksum/SHA256/reset/129 1570s ok 1058 /checksum/SHA256/reset/130 1570s ok 1059 /checksum/SHA256/reset/131 1570s ok 1060 /checksum/SHA256/reset/132 1570s ok 1061 /checksum/SHA256/reset/133 1570s ok 1062 /checksum/SHA256/reset/134 1570s ok 1063 /checksum/SHA256/reset/135 1570s ok 1064 /checksum/SHA256/reset/136 1570s ok 1065 /checksum/SHA256/reset/137 1570s ok 1066 /checksum/SHA256/reset/138 1570s ok 1067 /checksum/SHA256/reset/139 1570s ok 1068 /checksum/SHA256/reset/140 1570s ok 1069 /checksum/SHA256/reset/141 1570s ok 1070 /checksum/SHA256/reset/142 1570s ok 1071 /checksum/SHA256/reset/143 1570s ok 1072 /checksum/SHA256/reset/144 1570s ok 1073 /checksum/SHA256/reset/145 1570s ok 1074 /checksum/SHA256/reset/146 1570s ok 1075 /checksum/SHA256/reset/147 1570s ok 1076 /checksum/SHA256/reset/148 1570s ok 1077 /checksum/SHA256/reset/149 1570s ok 1078 /checksum/SHA256/reset/150 1570s ok 1079 /checksum/SHA256/reset/151 1570s ok 1080 /checksum/SHA256/reset/152 1570s ok 1081 /checksum/SHA256/reset/153 1570s ok 1082 /checksum/SHA256/reset/154 1570s ok 1083 /checksum/SHA256/reset/155 1570s ok 1084 /checksum/SHA256/reset/156 1570s ok 1085 /checksum/SHA256/reset/157 1570s ok 1086 /checksum/SHA256/reset/158 1570s ok 1087 /checksum/SHA256/reset/159 1570s ok 1088 /checksum/SHA256/reset/160 1570s ok 1089 /checksum/SHA256/reset/161 1570s ok 1090 /checksum/SHA256/reset/162 1570s ok 1091 /checksum/SHA256/reset/163 1570s ok 1092 /checksum/SHA256/reset/164 1570s ok 1093 /checksum/SHA256/reset/165 1570s ok 1094 /checksum/SHA256/reset/166 1570s ok 1095 /checksum/SHA256/reset/167 1570s ok 1096 /checksum/SHA256/reset/168 1570s ok 1097 /checksum/SHA256/reset/169 1570s ok 1098 /checksum/SHA256/reset/170 1570s ok 1099 /checksum/SHA256/reset/171 1570s ok 1100 /checksum/SHA256/reset/172 1570s ok 1101 /checksum/SHA256/reset/173 1570s ok 1102 /checksum/SHA256/reset/174 1570s ok 1103 /checksum/SHA256/reset/175 1570s ok 1104 /checksum/SHA256/reset/176 1570s ok 1105 /checksum/SHA256/reset/177 1570s ok 1106 /checksum/SHA256/reset/178 1570s ok 1107 /checksum/SHA256/reset/179 1570s ok 1108 /checksum/SHA256/reset/180 1570s ok 1109 /checksum/SHA256/reset/181 1570s ok 1110 /checksum/SHA256/reset/182 1570s ok 1111 /checksum/SHA256/reset/183 1570s # End of reset tests 1570s # End of SHA256 tests 1570s # Start of SHA384 tests 1570s ok 1112 /checksum/SHA384/0 1570s ok 1113 /checksum/SHA384/1 1570s ok 1114 /checksum/SHA384/2 1570s ok 1115 /checksum/SHA384/3 1570s ok 1116 /checksum/SHA384/4 1570s ok 1117 /checksum/SHA384/5 1570s ok 1118 /checksum/SHA384/6 1570s ok 1119 /checksum/SHA384/7 1570s ok 1120 /checksum/SHA384/8 1570s ok 1121 /checksum/SHA384/9 1570s ok 1122 /checksum/SHA384/10 1570s ok 1123 /checksum/SHA384/11 1570s ok 1124 /checksum/SHA384/12 1570s ok 1125 /checksum/SHA384/13 1570s ok 1126 /checksum/SHA384/14 1570s ok 1127 /checksum/SHA384/15 1570s ok 1128 /checksum/SHA384/16 1570s ok 1129 /checksum/SHA384/17 1570s ok 1130 /checksum/SHA384/18 1570s ok 1131 /checksum/SHA384/19 1570s ok 1132 /checksum/SHA384/20 1570s ok 1133 /checksum/SHA384/21 1570s ok 1134 /checksum/SHA384/22 1570s ok 1135 /checksum/SHA384/23 1570s ok 1136 /checksum/SHA384/24 1570s ok 1137 /checksum/SHA384/25 1570s ok 1138 /checksum/SHA384/26 1570s ok 1139 /checksum/SHA384/27 1570s ok 1140 /checksum/SHA384/28 1570s ok 1141 /checksum/SHA384/29 1570s ok 1142 /checksum/SHA384/30 1570s ok 1143 /checksum/SHA384/31 1570s ok 1144 /checksum/SHA384/32 1570s ok 1145 /checksum/SHA384/33 1570s ok 1146 /checksum/SHA384/34 1570s ok 1147 /checksum/SHA384/35 1570s ok 1148 /checksum/SHA384/36 1570s ok 1149 /checksum/SHA384/37 1570s ok 1150 /checksum/SHA384/38 1570s ok 1151 /checksum/SHA384/39 1570s ok 1152 /checksum/SHA384/40 1570s ok 1153 /checksum/SHA384/41 1570s ok 1154 /checksum/SHA384/42 1570s ok 1155 /checksum/SHA384/43 1570s ok 1156 /checksum/SHA384/44 1570s ok 1157 /checksum/SHA384/45 1570s ok 1158 /checksum/SHA384/46 1570s ok 1159 /checksum/SHA384/47 1570s ok 1160 /checksum/SHA384/48 1570s ok 1161 /checksum/SHA384/49 1570s ok 1162 /checksum/SHA384/50 1570s ok 1163 /checksum/SHA384/51 1570s ok 1164 /checksum/SHA384/52 1570s ok 1165 /checksum/SHA384/53 1570s ok 1166 /checksum/SHA384/54 1570s ok 1167 /checksum/SHA384/55 1570s ok 1168 /checksum/SHA384/56 1570s ok 1169 /checksum/SHA384/57 1570s ok 1170 /checksum/SHA384/58 1570s ok 1171 /checksum/SHA384/59 1570s ok 1172 /checksum/SHA384/60 1570s ok 1173 /checksum/SHA384/61 1570s ok 1174 /checksum/SHA384/62 1570s ok 1175 /checksum/SHA384/63 1570s ok 1176 /checksum/SHA384/64 1570s ok 1177 /checksum/SHA384/65 1570s ok 1178 /checksum/SHA384/66 1570s ok 1179 /checksum/SHA384/67 1570s ok 1180 /checksum/SHA384/68 1570s ok 1181 /checksum/SHA384/69 1570s ok 1182 /checksum/SHA384/70 1570s ok 1183 /checksum/SHA384/71 1570s ok 1184 /checksum/SHA384/72 1570s ok 1185 /checksum/SHA384/73 1570s ok 1186 /checksum/SHA384/74 1570s ok 1187 /checksum/SHA384/75 1570s ok 1188 /checksum/SHA384/76 1570s ok 1189 /checksum/SHA384/77 1570s ok 1190 /checksum/SHA384/78 1570s ok 1191 /checksum/SHA384/79 1570s ok 1192 /checksum/SHA384/80 1570s ok 1193 /checksum/SHA384/81 1570s ok 1194 /checksum/SHA384/82 1570s ok 1195 /checksum/SHA384/83 1570s ok 1196 /checksum/SHA384/84 1570s ok 1197 /checksum/SHA384/85 1570s ok 1198 /checksum/SHA384/86 1570s ok 1199 /checksum/SHA384/87 1570s ok 1200 /checksum/SHA384/88 1570s ok 1201 /checksum/SHA384/89 1570s ok 1202 /checksum/SHA384/90 1570s ok 1203 /checksum/SHA384/91 1570s ok 1204 /checksum/SHA384/92 1570s ok 1205 /checksum/SHA384/93 1570s ok 1206 /checksum/SHA384/94 1570s ok 1207 /checksum/SHA384/95 1570s ok 1208 /checksum/SHA384/96 1570s ok 1209 /checksum/SHA384/97 1570s ok 1210 /checksum/SHA384/98 1570s ok 1211 /checksum/SHA384/99 1570s ok 1212 /checksum/SHA384/100 1570s ok 1213 /checksum/SHA384/101 1570s ok 1214 /checksum/SHA384/102 1570s ok 1215 /checksum/SHA384/103 1570s ok 1216 /checksum/SHA384/104 1570s ok 1217 /checksum/SHA384/105 1570s ok 1218 /checksum/SHA384/106 1570s ok 1219 /checksum/SHA384/107 1570s ok 1220 /checksum/SHA384/108 1570s ok 1221 /checksum/SHA384/109 1570s ok 1222 /checksum/SHA384/110 1570s ok 1223 /checksum/SHA384/111 1570s ok 1224 /checksum/SHA384/112 1570s ok 1225 /checksum/SHA384/113 1570s ok 1226 /checksum/SHA384/114 1570s ok 1227 /checksum/SHA384/115 1570s ok 1228 /checksum/SHA384/116 1570s ok 1229 /checksum/SHA384/117 1570s ok 1230 /checksum/SHA384/118 1570s ok 1231 /checksum/SHA384/119 1570s ok 1232 /checksum/SHA384/120 1570s ok 1233 /checksum/SHA384/121 1570s ok 1234 /checksum/SHA384/122 1570s ok 1235 /checksum/SHA384/123 1570s ok 1236 /checksum/SHA384/124 1570s ok 1237 /checksum/SHA384/125 1570s ok 1238 /checksum/SHA384/126 1570s ok 1239 /checksum/SHA384/127 1570s ok 1240 /checksum/SHA384/128 1570s ok 1241 /checksum/SHA384/129 1570s ok 1242 /checksum/SHA384/130 1570s ok 1243 /checksum/SHA384/131 1570s ok 1244 /checksum/SHA384/132 1570s ok 1245 /checksum/SHA384/133 1570s ok 1246 /checksum/SHA384/134 1570s ok 1247 /checksum/SHA384/135 1570s ok 1248 /checksum/SHA384/136 1570s ok 1249 /checksum/SHA384/137 1570s ok 1250 /checksum/SHA384/138 1570s ok 1251 /checksum/SHA384/139 1570s ok 1252 /checksum/SHA384/140 1570s ok 1253 /checksum/SHA384/141 1570s ok 1254 /checksum/SHA384/142 1570s ok 1255 /checksum/SHA384/143 1570s ok 1256 /checksum/SHA384/144 1570s ok 1257 /checksum/SHA384/145 1570s ok 1258 /checksum/SHA384/146 1570s ok 1259 /checksum/SHA384/147 1570s ok 1260 /checksum/SHA384/148 1570s ok 1261 /checksum/SHA384/149 1570s ok 1262 /checksum/SHA384/150 1570s ok 1263 /checksum/SHA384/151 1570s ok 1264 /checksum/SHA384/152 1570s ok 1265 /checksum/SHA384/153 1570s ok 1266 /checksum/SHA384/154 1570s ok 1267 /checksum/SHA384/155 1570s ok 1268 /checksum/SHA384/156 1570s ok 1269 /checksum/SHA384/157 1570s ok 1270 /checksum/SHA384/158 1570s ok 1271 /checksum/SHA384/159 1570s ok 1272 /checksum/SHA384/160 1570s ok 1273 /checksum/SHA384/161 1570s ok 1274 /checksum/SHA384/162 1570s ok 1275 /checksum/SHA384/163 1570s ok 1276 /checksum/SHA384/164 1570s ok 1277 /checksum/SHA384/165 1570s ok 1278 /checksum/SHA384/166 1570s ok 1279 /checksum/SHA384/167 1570s ok 1280 /checksum/SHA384/168 1570s ok 1281 /checksum/SHA384/169 1570s ok 1282 /checksum/SHA384/170 1570s ok 1283 /checksum/SHA384/171 1570s ok 1284 /checksum/SHA384/172 1570s ok 1285 /checksum/SHA384/173 1570s ok 1286 /checksum/SHA384/174 1570s ok 1287 /checksum/SHA384/175 1570s ok 1288 /checksum/SHA384/176 1570s ok 1289 /checksum/SHA384/177 1570s ok 1290 /checksum/SHA384/178 1570s ok 1291 /checksum/SHA384/179 1570s ok 1292 /checksum/SHA384/180 1570s ok 1293 /checksum/SHA384/181 1570s ok 1294 /checksum/SHA384/182 1570s ok 1295 /checksum/SHA384/183 1570s ok 1296 /checksum/SHA384/string 1570s ok 1297 /checksum/SHA384/bytes 1570s # Start of reset tests 1570s ok 1298 /checksum/SHA384/reset/0 1570s ok 1299 /checksum/SHA384/reset/1 1570s ok 1300 /checksum/SHA384/reset/2 1570s ok 1301 /checksum/SHA384/reset/3 1570s ok 1302 /checksum/SHA384/reset/4 1570s ok 1303 /checksum/SHA384/reset/5 1570s ok 1304 /checksum/SHA384/reset/6 1570s ok 1305 /checksum/SHA384/reset/7 1570s ok 1306 /checksum/SHA384/reset/8 1570s ok 1307 /checksum/SHA384/reset/9 1570s ok 1308 /checksum/SHA384/reset/10 1570s ok 1309 /checksum/SHA384/reset/11 1570s ok 1310 /checksum/SHA384/reset/12 1570s ok 1311 /checksum/SHA384/reset/13 1570s ok 1312 /checksum/SHA384/reset/14 1570s ok 1313 /checksum/SHA384/reset/15 1570s ok 1314 /checksum/SHA384/reset/16 1570s ok 1315 /checksum/SHA384/reset/17 1570s ok 1316 /checksum/SHA384/reset/18 1570s ok 1317 /checksum/SHA384/reset/19 1570s ok 1318 /checksum/SHA384/reset/20 1570s ok 1319 /checksum/SHA384/reset/21 1570s ok 1320 /checksum/SHA384/reset/22 1570s ok 1321 /checksum/SHA384/reset/23 1570s ok 1322 /checksum/SHA384/reset/24 1570s ok 1323 /checksum/SHA384/reset/25 1570s ok 1324 /checksum/SHA384/reset/26 1570s ok 1325 /checksum/SHA384/reset/27 1570s ok 1326 /checksum/SHA384/reset/28 1570s ok 1327 /checksum/SHA384/reset/29 1570s ok 1328 /checksum/SHA384/reset/30 1570s ok 1329 /checksum/SHA384/reset/31 1570s ok 1330 /checksum/SHA384/reset/32 1570s ok 1331 /checksum/SHA384/reset/33 1570s ok 1332 /checksum/SHA384/reset/34 1570s ok 1333 /checksum/SHA384/reset/35 1570s ok 1334 /checksum/SHA384/reset/36 1570s ok 1335 /checksum/SHA384/reset/37 1570s ok 1336 /checksum/SHA384/reset/38 1570s ok 1337 /checksum/SHA384/reset/39 1570s ok 1338 /checksum/SHA384/reset/40 1570s ok 1339 /checksum/SHA384/reset/41 1570s ok 1340 /checksum/SHA384/reset/42 1570s ok 1341 /checksum/SHA384/reset/43 1570s ok 1342 /checksum/SHA384/reset/44 1570s ok 1343 /checksum/SHA384/reset/45 1570s ok 1344 /checksum/SHA384/reset/46 1570s ok 1345 /checksum/SHA384/reset/47 1570s ok 1346 /checksum/SHA384/reset/48 1570s ok 1347 /checksum/SHA384/reset/49 1570s ok 1348 /checksum/SHA384/reset/50 1570s ok 1349 /checksum/SHA384/reset/51 1570s ok 1350 /checksum/SHA384/reset/52 1570s ok 1351 /checksum/SHA384/reset/53 1570s ok 1352 /checksum/SHA384/reset/54 1570s ok 1353 /checksum/SHA384/reset/55 1570s ok 1354 /checksum/SHA384/reset/56 1570s ok 1355 /checksum/SHA384/reset/57 1570s ok 1356 /checksum/SHA384/reset/58 1570s ok 1357 /checksum/SHA384/reset/59 1570s ok 1358 /checksum/SHA384/reset/60 1570s ok 1359 /checksum/SHA384/reset/61 1570s ok 1360 /checksum/SHA384/reset/62 1570s ok 1361 /checksum/SHA384/reset/63 1570s ok 1362 /checksum/SHA384/reset/64 1570s ok 1363 /checksum/SHA384/reset/65 1570s ok 1364 /checksum/SHA384/reset/66 1570s ok 1365 /checksum/SHA384/reset/67 1570s ok 1366 /checksum/SHA384/reset/68 1570s ok 1367 /checksum/SHA384/reset/69 1570s ok 1368 /checksum/SHA384/reset/70 1570s ok 1369 /checksum/SHA384/reset/71 1570s ok 1370 /checksum/SHA384/reset/72 1570s ok 1371 /checksum/SHA384/reset/73 1570s ok 1372 /checksum/SHA384/reset/74 1570s ok 1373 /checksum/SHA384/reset/75 1570s ok 1374 /checksum/SHA384/reset/76 1570s ok 1375 /checksum/SHA384/reset/77 1570s ok 1376 /checksum/SHA384/reset/78 1570s ok 1377 /checksum/SHA384/reset/79 1570s ok 1378 /checksum/SHA384/reset/80 1570s ok 1379 /checksum/SHA384/reset/81 1570s ok 1380 /checksum/SHA384/reset/82 1570s ok 1381 /checksum/SHA384/reset/83 1570s ok 1382 /checksum/SHA384/reset/84 1570s ok 1383 /checksum/SHA384/reset/85 1570s ok 1384 /checksum/SHA384/reset/86 1570s ok 1385 /checksum/SHA384/reset/87 1570s ok 1386 /checksum/SHA384/reset/88 1570s ok 1387 /checksum/SHA384/reset/89 1570s ok 1388 /checksum/SHA384/reset/90 1570s ok 1389 /checksum/SHA384/reset/91 1570s ok 1390 /checksum/SHA384/reset/92 1570s ok 1391 /checksum/SHA384/reset/93 1570s ok 1392 /checksum/SHA384/reset/94 1570s ok 1393 /checksum/SHA384/reset/95 1570s ok 1394 /checksum/SHA384/reset/96 1570s ok 1395 /checksum/SHA384/reset/97 1570s ok 1396 /checksum/SHA384/reset/98 1570s ok 1397 /checksum/SHA384/reset/99 1570s ok 1398 /checksum/SHA384/reset/100 1570s ok 1399 /checksum/SHA384/reset/101 1570s ok 1400 /checksum/SHA384/reset/102 1570s ok 1401 /checksum/SHA384/reset/103 1570s ok 1402 /checksum/SHA384/reset/104 1570s ok 1403 /checksum/SHA384/reset/105 1570s ok 1404 /checksum/SHA384/reset/106 1570s ok 1405 /checksum/SHA384/reset/107 1570s ok 1406 /checksum/SHA384/reset/108 1570s ok 1407 /checksum/SHA384/reset/109 1570s ok 1408 /checksum/SHA384/reset/110 1570s ok 1409 /checksum/SHA384/reset/111 1570s ok 1410 /checksum/SHA384/reset/112 1570s ok 1411 /checksum/SHA384/reset/113 1570s ok 1412 /checksum/SHA384/reset/114 1570s ok 1413 /checksum/SHA384/reset/115 1570s ok 1414 /checksum/SHA384/reset/116 1570s ok 1415 /checksum/SHA384/reset/117 1570s ok 1416 /checksum/SHA384/reset/118 1570s ok 1417 /checksum/SHA384/reset/119 1570s ok 1418 /checksum/SHA384/reset/120 1570s ok 1419 /checksum/SHA384/reset/121 1570s ok 1420 /checksum/SHA384/reset/122 1570s ok 1421 /checksum/SHA384/reset/123 1570s ok 1422 /checksum/SHA384/reset/124 1570s ok 1423 /checksum/SHA384/reset/125 1570s ok 1424 /checksum/SHA384/reset/126 1570s ok 1425 /checksum/SHA384/reset/127 1570s ok 1426 /checksum/SHA384/reset/128 1570s ok 1427 /checksum/SHA384/reset/129 1570s ok 1428 /checksum/SHA384/reset/130 1570s ok 1429 /checksum/SHA384/reset/131 1570s ok 1430 /checksum/SHA384/reset/132 1570s ok 1431 /checksum/SHA384/reset/133 1570s ok 1432 /checksum/SHA384/reset/134 1570s ok 1433 /checksum/SHA384/reset/135 1570s ok 1434 /checksum/SHA384/reset/136 1570s ok 1435 /checksum/SHA384/reset/137 1570s ok 1436 /checksum/SHA384/reset/138 1570s ok 1437 /checksum/SHA384/reset/139 1570s ok 1438 /checksum/SHA384/reset/140 1570s ok 1439 /checksum/SHA384/reset/141 1570s ok 1440 /checksum/SHA384/reset/142 1570s ok 1441 /checksum/SHA384/reset/143 1570s ok 1442 /checksum/SHA384/reset/144 1570s ok 1443 /checksum/SHA384/reset/145 1570s ok 1444 /checksum/SHA384/reset/146 1570s ok 1445 /checksum/SHA384/reset/147 1570s ok 1446 /checksum/SHA384/reset/148 1570s ok 1447 /checksum/SHA384/reset/149 1570s ok 1448 /checksum/SHA384/reset/150 1570s ok 1449 /checksum/SHA384/reset/151 1570s ok 1450 /checksum/SHA384/reset/152 1570s ok 1451 /checksum/SHA384/reset/153 1570s ok 1452 /checksum/SHA384/reset/154 1570s ok 1453 /checksum/SHA384/reset/155 1570s ok 1454 /checksum/SHA384/reset/156 1570s ok 1455 /checksum/SHA384/reset/157 1570s ok 1456 /checksum/SHA384/reset/158 1570s ok 1457 /checksum/SHA384/reset/159 1570s ok 1458 /checksum/SHA384/reset/160 1570s ok 1459 /checksum/SHA384/reset/161 1570s ok 1460 /checksum/SHA384/reset/162 1570s ok 1461 /checksum/SHA384/reset/163 1570s ok 1462 /checksum/SHA384/reset/164 1570s ok 1463 /checksum/SHA384/reset/165 1570s ok 1464 /checksum/SHA384/reset/166 1570s ok 1465 /checksum/SHA384/reset/167 1570s ok 1466 /checksum/SHA384/reset/168 1570s ok 1467 /checksum/SHA384/reset/169 1570s ok 1468 /checksum/SHA384/reset/170 1570s ok 1469 /checksum/SHA384/reset/171 1570s ok 1470 /checksum/SHA384/reset/172 1570s ok 1471 /checksum/SHA384/reset/173 1570s ok 1472 /checksum/SHA384/reset/174 1570s ok 1473 /checksum/SHA384/reset/175 1570s ok 1474 /checksum/SHA384/reset/176 1570s ok 1475 /checksum/SHA384/reset/177 1570s ok 1476 /checksum/SHA384/reset/178 1570s ok 1477 /checksum/SHA384/reset/179 1570s ok 1478 /checksum/SHA384/reset/180 1570s ok 1479 /checksum/SHA384/reset/181 1570s ok 1480 /checksum/SHA384/reset/182 1570s ok 1481 /checksum/SHA384/reset/183 1570s # End of reset tests 1570s # End of SHA384 tests 1570s # Start of SHA512 tests 1570s ok 1482 /checksum/SHA512/0 1570s ok 1483 /checksum/SHA512/1 1570s ok 1484 /checksum/SHA512/2 1570s ok 1485 /checksum/SHA512/3 1570s ok 1486 /checksum/SHA512/4 1570s ok 1487 /checksum/SHA512/5 1570s ok 1488 /checksum/SHA512/6 1570s ok 1489 /checksum/SHA512/7 1570s ok 1490 /checksum/SHA512/8 1570s ok 1491 /checksum/SHA512/9 1570s ok 1492 /checksum/SHA512/10 1570s ok 1493 /checksum/SHA512/11 1570s ok 1494 /checksum/SHA512/12 1570s ok 1495 /checksum/SHA512/13 1570s ok 1496 /checksum/SHA512/14 1570s ok 1497 /checksum/SHA512/15 1570s ok 1498 /checksum/SHA512/16 1570s ok 1499 /checksum/SHA512/17 1570s ok 1500 /checksum/SHA512/18 1570s ok 1501 /checksum/SHA512/19 1570s ok 1502 /checksum/SHA512/20 1570s ok 1503 /checksum/SHA512/21 1570s ok 1504 /checksum/SHA512/22 1570s ok 1505 /checksum/SHA512/23 1570s ok 1506 /checksum/SHA512/24 1570s ok 1507 /checksum/SHA512/25 1570s ok 1508 /checksum/SHA512/26 1570s ok 1509 /checksum/SHA512/27 1570s ok 1510 /checksum/SHA512/28 1570s ok 1511 /checksum/SHA512/29 1570s ok 1512 /checksum/SHA512/30 1570s ok 1513 /checksum/SHA512/31 1570s ok 1514 /checksum/SHA512/32 1570s ok 1515 /checksum/SHA512/33 1570s ok 1516 /checksum/SHA512/34 1570s ok 1517 /checksum/SHA512/35 1570s ok 1518 /checksum/SHA512/36 1570s ok 1519 /checksum/SHA512/37 1570s ok 1520 /checksum/SHA512/38 1570s ok 1521 /checksum/SHA512/39 1570s ok 1522 /checksum/SHA512/40 1570s ok 1523 /checksum/SHA512/41 1570s ok 1524 /checksum/SHA512/42 1570s ok 1525 /checksum/SHA512/43 1570s ok 1526 /checksum/SHA512/44 1570s ok 1527 /checksum/SHA512/45 1570s ok 1528 /checksum/SHA512/46 1570s ok 1529 /checksum/SHA512/47 1570s ok 1530 /checksum/SHA512/48 1570s ok 1531 /checksum/SHA512/49 1570s ok 1532 /checksum/SHA512/50 1570s ok 1533 /checksum/SHA512/51 1570s ok 1534 /checksum/SHA512/52 1570s ok 1535 /checksum/SHA512/53 1570s ok 1536 /checksum/SHA512/54 1570s ok 1537 /checksum/SHA512/55 1570s ok 1538 /checksum/SHA512/56 1570s ok 1539 /checksum/SHA512/57 1570s ok 1540 /checksum/SHA512/58 1570s ok 1541 /checksum/SHA512/59 1570s ok 1542 /checksum/SHA512/60 1570s ok 1543 /checksum/SHA512/61 1570s ok 1544 /checksum/SHA512/62 1570s ok 1545 /checksum/SHA512/63 1570s ok 1546 /checksum/SHA512/64 1570s ok 1547 /checksum/SHA512/65 1570s ok 1548 /checksum/SHA512/66 1570s ok 1549 /checksum/SHA512/67 1570s ok 1550 /checksum/SHA512/68 1570s ok 1551 /checksum/SHA512/69 1570s ok 1552 /checksum/SHA512/70 1570s ok 1553 /checksum/SHA512/71 1570s ok 1554 /checksum/SHA512/72 1570s ok 1555 /checksum/SHA512/73 1570s ok 1556 /checksum/SHA512/74 1570s ok 1557 /checksum/SHA512/75 1570s ok 1558 /checksum/SHA512/76 1570s ok 1559 /checksum/SHA512/77 1570s ok 1560 /checksum/SHA512/78 1570s ok 1561 /checksum/SHA512/79 1570s ok 1562 /checksum/SHA512/80 1570s ok 1563 /checksum/SHA512/81 1570s ok 1564 /checksum/SHA512/82 1570s ok 1565 /checksum/SHA512/83 1570s ok 1566 /checksum/SHA512/84 1570s ok 1567 /checksum/SHA512/85 1570s ok 1568 /checksum/SHA512/86 1570s ok 1569 /checksum/SHA512/87 1570s ok 1570 /checksum/SHA512/88 1570s ok 1571 /checksum/SHA512/89 1570s ok 1572 /checksum/SHA512/90 1570s ok 1573 /checksum/SHA512/91 1570s ok 1574 /checksum/SHA512/92 1570s ok 1575 /checksum/SHA512/93 1570s ok 1576 /checksum/SHA512/94 1570s ok 1577 /checksum/SHA512/95 1570s ok 1578 /checksum/SHA512/96 1570s ok 1579 /checksum/SHA512/97 1570s ok 1580 /checksum/SHA512/98 1570s ok 1581 /checksum/SHA512/99 1570s ok 1582 /checksum/SHA512/100 1570s ok 1583 /checksum/SHA512/101 1570s ok 1584 /checksum/SHA512/102 1570s ok 1585 /checksum/SHA512/103 1570s ok 1586 /checksum/SHA512/104 1570s ok 1587 /checksum/SHA512/105 1570s ok 1588 /checksum/SHA512/106 1570s ok 1589 /checksum/SHA512/107 1570s ok 1590 /checksum/SHA512/108 1570s ok 1591 /checksum/SHA512/109 1570s ok 1592 /checksum/SHA512/110 1570s ok 1593 /checksum/SHA512/111 1570s ok 1594 /checksum/SHA512/112 1570s ok 1595 /checksum/SHA512/113 1570s ok 1596 /checksum/SHA512/114 1570s ok 1597 /checksum/SHA512/115 1570s ok 1598 /checksum/SHA512/116 1570s ok 1599 /checksum/SHA512/117 1570s ok 1600 /checksum/SHA512/118 1570s ok 1601 /checksum/SHA512/119 1570s ok 1602 /checksum/SHA512/120 1570s ok 1603 /checksum/SHA512/121 1570s ok 1604 /checksum/SHA512/122 1570s ok 1605 /checksum/SHA512/123 1570s ok 1606 /checksum/SHA512/124 1570s ok 1607 /checksum/SHA512/125 1570s ok 1608 /checksum/SHA512/126 1570s ok 1609 /checksum/SHA512/127 1570s ok 1610 /checksum/SHA512/128 1570s ok 1611 /checksum/SHA512/129 1570s ok 1612 /checksum/SHA512/130 1570s ok 1613 /checksum/SHA512/131 1570s ok 1614 /checksum/SHA512/132 1570s ok 1615 /checksum/SHA512/133 1570s ok 1616 /checksum/SHA512/134 1570s ok 1617 /checksum/SHA512/135 1570s ok 1618 /checksum/SHA512/136 1570s ok 1619 /checksum/SHA512/137 1570s ok 1620 /checksum/SHA512/138 1570s ok 1621 /checksum/SHA512/139 1570s ok 1622 /checksum/SHA512/140 1570s ok 1623 /checksum/SHA512/141 1570s ok 1624 /checksum/SHA512/142 1570s ok 1625 /checksum/SHA512/143 1570s ok 1626 /checksum/SHA512/144 1570s ok 1627 /checksum/SHA512/145 1570s ok 1628 /checksum/SHA512/146 1570s ok 1629 /checksum/SHA512/147 1570s ok 1630 /checksum/SHA512/148 1570s ok 1631 /checksum/SHA512/149 1570s ok 1632 /checksum/SHA512/150 1570s ok 1633 /checksum/SHA512/151 1570s ok 1634 /checksum/SHA512/152 1570s ok 1635 /checksum/SHA512/153 1570s ok 1636 /checksum/SHA512/154 1570s ok 1637 /checksum/SHA512/155 1570s ok 1638 /checksum/SHA512/156 1570s ok 1639 /checksum/SHA512/157 1570s ok 1640 /checksum/SHA512/158 1570s ok 1641 /checksum/SHA512/159 1570s ok 1642 /checksum/SHA512/160 1570s ok 1643 /checksum/SHA512/161 1570s ok 1644 /checksum/SHA512/162 1570s ok 1645 /checksum/SHA512/163 1570s ok 1646 /checksum/SHA512/164 1570s ok 1647 /checksum/SHA512/165 1570s ok 1648 /checksum/SHA512/166 1570s ok 1649 /checksum/SHA512/167 1570s ok 1650 /checksum/SHA512/168 1570s ok 1651 /checksum/SHA512/169 1570s ok 1652 /checksum/SHA512/170 1570s ok 1653 /checksum/SHA512/171 1570s ok 1654 /checksum/SHA512/172 1570s ok 1655 /checksum/SHA512/173 1570s ok 1656 /checksum/SHA512/174 1570s ok 1657 /checksum/SHA512/175 1570s ok 1658 /checksum/SHA512/176 1570s ok 1659 /checksum/SHA512/177 1570s ok 1660 /checksum/SHA512/178 1570s ok 1661 /checksum/SHA512/179 1570s ok 1662 /checksum/SHA512/180 1570s ok 1663 /checksum/SHA512/181 1570s ok 1664 /checksum/SHA512/182 1570s ok 1665 /checksum/SHA512/183 1570s ok 1666 /checksum/SHA512/string 1570s ok 1667 /checksum/SHA512/bytes 1570s # Start of reset tests 1570s ok 1668 /checksum/SHA512/reset/0 1570s ok 1669 /checksum/SHA512/reset/1 1570s ok 1670 /checksum/SHA512/reset/2 1570s ok 1671 /checksum/SHA512/reset/3 1570s ok 1672 /checksum/SHA512/reset/4 1570s ok 1673 /checksum/SHA512/reset/5 1570s ok 1674 /checksum/SHA512/reset/6 1570s ok 1675 /checksum/SHA512/reset/7 1570s ok 1676 /checksum/SHA512/reset/8 1570s ok 1677 /checksum/SHA512/reset/9 1570s ok 1678 /checksum/SHA512/reset/10 1570s ok 1679 /checksum/SHA512/reset/11 1570s ok 1680 /checksum/SHA512/reset/12 1570s ok 1681 /checksum/SHA512/reset/13 1570s ok 1682 /checksum/SHA512/reset/14 1570s ok 1683 /checksum/SHA512/reset/15 1570s ok 1684 /checksum/SHA512/reset/16 1570s ok 1685 /checksum/SHA512/reset/17 1570s ok 1686 /checksum/SHA512/reset/18 1570s ok 1687 /checksum/SHA512/reset/19 1570s ok 1688 /checksum/SHA512/reset/20 1570s ok 1689 /checksum/SHA512/reset/21 1570s ok 1690 /checksum/SHA512/reset/22 1570s ok 1691 /checksum/SHA512/reset/23 1570s ok 1692 /checksum/SHA512/reset/24 1570s ok 1693 /checksum/SHA512/reset/25 1570s ok 1694 /checksum/SHA512/reset/26 1570s ok 1695 /checksum/SHA512/reset/27 1570s ok 1696 /checksum/SHA512/reset/28 1570s ok 1697 /checksum/SHA512/reset/29 1570s ok 1698 /checksum/SHA512/reset/30 1570s ok 1699 /checksum/SHA512/reset/31 1570s ok 1700 /checksum/SHA512/reset/32 1570s ok 1701 /checksum/SHA512/reset/33 1570s ok 1702 /checksum/SHA512/reset/34 1570s ok 1703 /checksum/SHA512/reset/35 1570s ok 1704 /checksum/SHA512/reset/36 1570s ok 1705 /checksum/SHA512/reset/37 1570s ok 1706 /checksum/SHA512/reset/38 1570s ok 1707 /checksum/SHA512/reset/39 1570s ok 1708 /checksum/SHA512/reset/40 1570s ok 1709 /checksum/SHA512/reset/41 1570s ok 1710 /checksum/SHA512/reset/42 1570s ok 1711 /checksum/SHA512/reset/43 1570s ok 1712 /checksum/SHA512/reset/44 1570s ok 1713 /checksum/SHA512/reset/45 1570s ok 1714 /checksum/SHA512/reset/46 1570s ok 1715 /checksum/SHA512/reset/47 1570s ok 1716 /checksum/SHA512/reset/48 1570s ok 1717 /checksum/SHA512/reset/49 1570s ok 1718 /checksum/SHA512/reset/50 1570s ok 1719 /checksum/SHA512/reset/51 1570s ok 1720 /checksum/SHA512/reset/52 1570s ok 1721 /checksum/SHA512/reset/53 1570s ok 1722 /checksum/SHA512/reset/54 1570s ok 1723 /checksum/SHA512/reset/55 1570s ok 1724 /checksum/SHA512/reset/56 1570s ok 1725 /checksum/SHA512/reset/57 1570s ok 1726 /checksum/SHA512/reset/58 1570s ok 1727 /checksum/SHA512/reset/59 1570s ok 1728 /checksum/SHA512/reset/60 1570s ok 1729 /checksum/SHA512/reset/61 1570s ok 1730 /checksum/SHA512/reset/62 1570s ok 1731 /checksum/SHA512/reset/63 1570s ok 1732 /checksum/SHA512/reset/64 1570s ok 1733 /checksum/SHA512/reset/65 1570s ok 1734 /checksum/SHA512/reset/66 1570s ok 1735 /checksum/SHA512/reset/67 1570s ok 1736 /checksum/SHA512/reset/68 1570s ok 1737 /checksum/SHA512/reset/69 1570s ok 1738 /checksum/SHA512/reset/70 1570s ok 1739 /checksum/SHA512/reset/71 1570s ok 1740 /checksum/SHA512/reset/72 1570s ok 1741 /checksum/SHA512/reset/73 1570s ok 1742 /checksum/SHA512/reset/74 1570s ok 1743 /checksum/SHA512/reset/75 1570s ok 1744 /checksum/SHA512/reset/76 1570s ok 1745 /checksum/SHA512/reset/77 1570s ok 1746 /checksum/SHA512/reset/78 1570s ok 1747 /checksum/SHA512/reset/79 1570s ok 1748 /checksum/SHA512/reset/80 1570s ok 1749 /checksum/SHA512/reset/81 1570s ok 1750 /checksum/SHA512/reset/82 1570s ok 1751 /checksum/SHA512/reset/83 1570s ok 1752 /checksum/SHA512/reset/84 1570s ok 1753 /checksum/SHA512/reset/85 1570s ok 1754 /checksum/SHA512/reset/86 1570s ok 1755 /checksum/SHA512/reset/87 1570s ok 1756 /checksum/SHA512/reset/88 1570s ok 1757 /checksum/SHA512/reset/89 1570s ok 1758 /checksum/SHA512/reset/90 1570s ok 1759 /checksum/SHA512/reset/91 1570s ok 1760 /checksum/SHA512/reset/92 1570s ok 1761 /checksum/SHA512/reset/93 1570s ok 1762 /checksum/SHA512/reset/94 1570s ok 1763 /checksum/SHA512/reset/95 1570s ok 1764 /checksum/SHA512/reset/96 1570s ok 1765 /checksum/SHA512/reset/97 1570s ok 1766 /checksum/SHA512/reset/98 1570s ok 1767 /checksum/SHA512/reset/99 1570s ok 1768 /checksum/SHA512/reset/100 1570s ok 1769 /checksum/SHA512/reset/101 1570s ok 1770 /checksum/SHA512/reset/102 1570s ok 1771 /checksum/SHA512/reset/103 1570s ok 1772 /checksum/SHA512/reset/104 1570s ok 1773 /checksum/SHA512/reset/105 1570s ok 1774 /checksum/SHA512/reset/106 1570s ok 1775 /checksum/SHA512/reset/107 1570s ok 1776 /checksum/SHA512/reset/108 1570s ok 1777 /checksum/SHA512/reset/109 1570s ok 1778 /checksum/SHA512/reset/110 1570s ok 1779 /checksum/SHA512/reset/111 1570s ok 1780 /checksum/SHA512/reset/112 1570s ok 1781 /checksum/SHA512/reset/113 1570s ok 1782 /checksum/SHA512/reset/114 1570s ok 1783 /checksum/SHA512/reset/115 1570s ok 1784 /checksum/SHA512/reset/116 1570s ok 1785 /checksum/SHA512/reset/117 1570s ok 1786 /checksum/SHA512/reset/118 1570s ok 1787 /checksum/SHA512/reset/119 1570s ok 1788 /checksum/SHA512/reset/120 1570s ok 1789 /checksum/SHA512/reset/121 1570s ok 1790 /checksum/SHA512/reset/122 1570s ok 1791 /checksum/SHA512/reset/123 1570s ok 1792 /checksum/SHA512/reset/124 1570s ok 1793 /checksum/SHA512/reset/125 1570s ok 1794 /checksum/SHA512/reset/126 1570s ok 1795 /checksum/SHA512/reset/127 1570s ok 1796 /checksum/SHA512/reset/128 1570s ok 1797 /checksum/SHA512/reset/129 1570s ok 1798 /checksum/SHA512/reset/130 1570s ok 1799 /checksum/SHA512/reset/131 1570s ok 1800 /checksum/SHA512/reset/132 1570s ok 1801 /checksum/SHA512/reset/133 1570s ok 1802 /checksum/SHA512/reset/134 1570s ok 1803 /checksum/SHA512/reset/135 1570s ok 1804 /checksum/SHA512/reset/136 1570s ok 1805 /checksum/SHA512/reset/137 1570s ok 1806 /checksum/SHA512/reset/138 1570s ok 1807 /checksum/SHA512/reset/139 1570s ok 1808 /checksum/SHA512/reset/140 1570s ok 1809 /checksum/SHA512/reset/141 1570s ok 1810 /checksum/SHA512/reset/142 1570s ok 1811 /checksum/SHA512/reset/143 1570s ok 1812 /checksum/SHA512/reset/144 1570s ok 1813 /checksum/SHA512/reset/145 1570s ok 1814 /checksum/SHA512/reset/146 1570s ok 1815 /checksum/SHA512/reset/147 1570s ok 1816 /checksum/SHA512/reset/148 1570s ok 1817 /checksum/SHA512/reset/149 1570s ok 1818 /checksum/SHA512/reset/150 1570s ok 1819 /checksum/SHA512/reset/151 1570s ok 1820 /checksum/SHA512/reset/152 1570s ok 1821 /checksum/SHA512/reset/153 1570s ok 1822 /checksum/SHA512/reset/154 1570s ok 1823 /checksum/SHA512/reset/155 1570s ok 1824 /checksum/SHA512/reset/156 1570s ok 1825 /checksum/SHA512/reset/157 1570s ok 1826 /checksum/SHA512/reset/158 1570s ok 1827 /checksum/SHA512/reset/159 1570s ok 1828 /checksum/SHA512/reset/160 1570s ok 1829 /checksum/SHA512/reset/161 1570s ok 1830 /checksum/SHA512/reset/162 1570s ok 1831 /checksum/SHA512/reset/163 1570s ok 1832 /checksum/SHA512/reset/164 1570s ok 1833 /checksum/SHA512/reset/165 1570s ok 1834 /checksum/SHA512/reset/166 1570s ok 1835 /checksum/SHA512/reset/167 1570s ok 1836 /checksum/SHA512/reset/168 1570s ok 1837 /checksum/SHA512/reset/169 1570s ok 1838 /checksum/SHA512/reset/170 1570s ok 1839 /checksum/SHA512/reset/171 1570s ok 1840 /checksum/SHA512/reset/172 1570s ok 1841 /checksum/SHA512/reset/173 1570s ok 1842 /checksum/SHA512/reset/174 1570s ok 1843 /checksum/SHA512/reset/175 1570s ok 1844 /checksum/SHA512/reset/176 1570s ok 1845 /checksum/SHA512/reset/177 1570s ok 1846 /checksum/SHA512/reset/178 1570s ok 1847 /checksum/SHA512/reset/179 1570s ok 1848 /checksum/SHA512/reset/180 1570s ok 1849 /checksum/SHA512/reset/181 1570s ok 1850 /checksum/SHA512/reset/182 1570s ok 1851 /checksum/SHA512/reset/183 1570s # End of reset tests 1570s # End of SHA512 tests 1570s # End of checksum tests 1570s ok - glib/checksum.test 1570s # Running test: glib/enums.test 1570s TAP version 14 1570s # random seed: R02S846eac7cfeb61a9ef26d536954f58008 1570s 1..4 1570s # Start of enum tests 1570s ok 1 /enum/basic 1570s ok 2 /enum/define-type 1570s # End of enum tests 1570s # Start of flags tests 1570s ok 3 /flags/basic 1570s ok 4 /flags/define-type 1570s # End of flags tests 1570s ok - glib/enums.test 1570s # Running test: glib/buffered-input-stream.test 1570s TAP version 14 1570s # random seed: R02Sd49118e8e75d0e7a35d1079f8b44a111 1570s 1..10 1570s # Start of buffered-input-stream tests 1570s ok 1 /buffered-input-stream/peek 1570s ok 2 /buffered-input-stream/peek-buffer 1570s ok 3 /buffered-input-stream/set-buffer-size 1570s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1570s ok 4 /buffered-input-stream/read-byte 1570s ok 5 /buffered-input-stream/read 1570s ok 6 /buffered-input-stream/read-async 1570s ok 7 /buffered-input-stream/skip 1570s ok 8 /buffered-input-stream/skip-async 1570s ok 9 /buffered-input-stream/seek 1570s # End of buffered-input-stream tests 1570s # Start of filter-input-stream tests 1570s ok 10 /filter-input-stream/close 1570s # End of filter-input-stream tests 1570s ok - glib/buffered-input-stream.test 1570s # Running test: glib/gdbus-connection-loss.test 1570s TAP version 14 1570s # random seed: R02S83005e328092d4ba4d14b6e7f6d6f41c 1570s 1..1 1570s # Start of gdbus tests 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_E9RKJ3/gdbus/connection-loss/.dirs/runtime 1570s ok 1 /gdbus/connection-loss 1570s # End of gdbus tests 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok - glib/gdbus-connection-loss.test 1570s # Running test: glib/mimeapps.test 1570s TAP version 14 1570s # random seed: R02Sb91a2844f73a31a8576195547c46ddff 1570s 1..13 1570s # Start of appinfo tests 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/runtime 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-data1/applications' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/myapp.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1570s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/mimeapps.list' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1570s ok 1 /appinfo/all 1570s # Start of mime tests 1570s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/home 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/cache 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-config2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-data2 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/state 1570s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/runtime 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-data1/applications' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1570s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1570s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1570s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1570s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/all/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1570s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1570s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1570s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config 1571s ok 2 /appinfo/mime/api 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config 1571s ok 3 /appinfo/mime/default 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config 1571s ok 4 /appinfo/mime/file 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/config 1571s ok 5 /appinfo/mime/scheme-handler 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config 1571s ok 6 /appinfo/mime/default-last-used 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1571s ok - glib/mimeapps.test 1571s # Running test: glib/hmac.test 1571s ok - glib/hmac.test 1571s # Running test: glib/thread-deprecated.test 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/config 1571s ok 7 /appinfo/mime/ignore-nonexisting 1571s # End of mime tests 1571s # Start of mime-symlinked tests 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1571s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config 1571s ok 8 /appinfo/mime-symlinked/api 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config 1571s ok 9 /appinfo/mime-symlinked/default 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config 1571s ok 10 /appinfo/mime-symlinked/file 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1571s ok 11 /appinfo/mime-symlinked/scheme-handler 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 1571s ok 12 /appinfo/mime-symlinked/default-last-used 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1571s # removing '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1571s # creating '/tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1571s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_SJ2HJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1571s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1571s # End of mime-symlinked tests 1571s # End of appinfo tests 1571s TAP version 14 1571s # random seed: R02S379c477b8064bde2d813070c4d398b08 1571s 1..37 1571s # Start of hmac tests 1571s ok 1 /hmac/sha1-1 1571s ok 2 /hmac/sha1-2 1571s ok 3 /hmac/sha1-3 1571s ok 4 /hmac/sha1-4 1571s ok 5 /hmac/sha1-5 1571s ok 6 /hmac/sha1-6 1571s ok 7 /hmac/sha1-7 1571s ok 8 /hmac/sha256-1 1571s ok 9 /hmac/sha256-2 1571s ok 10 /hmac/sha256-3 1571s ok 11 /hmac/sha256-4 1571s ok 12 /hmac/sha256-5 1571s ok 13 /hmac/sha256-6 1571s ok 14 /hmac/sha384-1 1571s ok 15 /hmac/sha384-2 1571s ok 16 /hmac/sha384-3 1571s ok 17 /hmac/sha384-4 1571s ok 18 /hmac/sha384-5 1571s ok 19 /hmac/sha384-6 1571s ok 20 /hmac/sha512-1 1571s ok 21 /hmac/sha512-2 1571s ok 22 /hmac/sha512-3 1571s ok 23 /hmac/sha512-4 1571s ok 24 /hmac/sha512-5 1571s ok 25 /hmac/sha512-6 1571s ok 26 /hmac/md5-1 1571s ok 27 /hmac/md5-2 1571s ok 28 /hmac/md5-3 1571s ok 29 /hmac/md5-4 1571s ok 30 /hmac/md5-5 1571s ok 31 /hmac/md5-6 1571s ok 32 /hmac/md5-7 1571s ok 33 /hmac/ref-unref 1571s ok 34 /hmac/copy 1571s ok 35 /hmac/for-data 1571s ok 36 /hmac/for-string 1571s ok 37 /hmac/for-bytes 1571s # End of hmac tests 1571s TAP version 14 1571s # random seed: R02S55a193c332c61983713f733c4def1db9 1571s 1..6 1571s # Start of thread tests 1571s ok 1 /thread/mutex 1571s ok 2 /thread/static-rec-mutex 1573s # Executing: glib/thread-deprecated.test 1575s ok 3 /thread/static-private 1575s # slow test /thread/static-private executed in 4.40 secs 1578s # Executing: glib/thread-deprecated.test 1580s ok 4 /thread/static-rw-lock 1580s # slow test /thread/static-rw-lock executed in 5.00 secs 1580s ok 5 /thread/once 1584s # Executing: glib/thread-deprecated.test 1589s # Executing: glib/thread-deprecated.test 1590s ok 6 /thread/rerun-all 1590s # slow test /thread/rerun-all executed in 10.02 secs 1590s # End of thread tests 1590s ok - glib/thread-deprecated.test 1590s # Running test: glib/g-file-info.test 1590s TAP version 14 1590s # random seed: R02S15b691ac0778b001f7903b4e8ea875b4 1590s 1..6 1590s # Start of g-file-info tests 1590s ok 1 /g-file-info/test_g_file_info 1590s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1590s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1590s ok 2 /g-file-info/xattrs 1590s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1590s ok 3 /g-file-info/set-modified-date-time-precision 1590s # Start of test_g_file_info tests 1590s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1590s ok 4 /g-file-info/test_g_file_info/modification-time 1590s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1590s ok - glib/g-file-info.test 1590s # Running test: glib/slist.test 1590s ok - glib/slist.test 1590s # Running test: glib/spawn-singlethread.test 1590s ok 5 /g-file-info/test_g_file_info/access-time 1590s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1590s ok 6 /g-file-info/test_g_file_info/creation-time 1590s # End of test_g_file_info tests 1590s # End of g-file-info tests 1590s TAP version 14 1590s # random seed: R02Sdbb56852cc6e96b92228f8703e9fb614 1590s 1..14 1590s # Start of slist tests 1590s ok 1 /slist/sort 1590s ok 2 /slist/sort-with-data 1590s ok 3 /slist/insert-sorted 1590s ok 4 /slist/insert-sorted-with-data 1590s ok 5 /slist/reverse 1590s ok 6 /slist/nth 1590s ok 7 /slist/remove 1590s ok 8 /slist/remove-all 1590s ok 9 /slist/insert 1590s ok 10 /slist/position 1590s ok 11 /slist/concat 1590s ok 12 /slist/copy 1590s # Start of sort tests 1590s ok 13 /slist/sort/stable 1590s # End of sort tests 1590s # Start of copy tests 1590s ok 14 /slist/copy/deep 1590s # End of copy tests 1590s # End of slist tests 1590s TAP version 14 1590s # random seed: R02Sf0a863c30b8ae7aab904ccabcd8dadb5 1590s 1..9 1590s # Start of gthread tests 1590s ok 1 /gthread/spawn-single-sync 1590s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1590s ok 2 /gthread/spawn-stderr-socket 1590s ok 3 /gthread/spawn-single-async 1590s # thread 1 1590s # thread 1 1590s ok 4 /gthread/spawn-single-async-with-fds 1590s ok 5 /gthread/spawn-async-with-invalid-fds 1590s ok 6 /gthread/spawn-script 1590s ok 7 /gthread/spawn-posix-spawn 1590s # Start of spawn tests 1590s ok 8 /gthread/spawn/nonexistent 1590s # FD map: 1590s # • 5 → 15 1590s # • 6 → 16 1590s # • 7 → 17 1590s # • 8 → 18 1590s # • 9 → 19 1590s # • 10 → 20 1590s # • 11 → 21 1590s # • 12 → 22 1590s # • 13 → 23 1590s # • 3 → 13 1590s ok 9 /gthread/spawn/fd-assignment-clash 1590s # End of spawn tests 1590s # End of gthread tests 1590s TAP version 14 1590s # random seed: R02S5850be2d925d3fcefb7fb0c1a0a370fe 1590s 1..2 1590s # Start of qdata tests 1590s ok - glib/spawn-singlethread.test 1590s # Running test: glib/qdata.test 1590s ok 1 /qdata/threaded 1590s ok 2 /qdata/dup 1590s # End of qdata tests 1590s ok - glib/qdata.test 1590s # Running test: glib/notify-init2.test 1590s TAP version 14 1590s # random seed: R02S0aea81ff58f6fd5589907f7222b8bb34 1590s 1..1 1590s # Start of properties tests 1590s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1590s ok 1 /properties/notify-in-init2 1590s # End of properties tests 1590s ok - glib/notify-init2.test 1590s # Running test: glib/unix-mounts.test 1590s ok - glib/unix-mounts.test 1590s TAP version 14 1590s # random seed: R02S133915680711869908eaf49608ea5e07 1590s 1..4 1590s # Start of unix-mounts tests 1590s ok 1 /unix-mounts/is-system-fs-type 1590s ok 2 /unix-mounts/is-system-device-path 1590s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1590s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1590s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1590s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1590s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1590s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1590s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1590s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1590s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1590s ok 3 /unix-mounts/get-mount-points 1590s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1590s ok 4 /unix-mounts/get-mount-entries 1590s # End of unix-mounts tests 1590s # Running test: glib/deftype.test 1590s ok - glib/deftype.test 1590s # Running test: glib/trash.test 1590s TAP version 14 1590s # random seed: R02S6476a7b0ad3f1fe82ce61b0eadc1c5d9 1590s 1..3 1590s # Start of trash tests 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1590s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1590s # File: /tmp/test-trashTOBVJ3 (parent st_dev: 64769) 1590s # Home: /home/ubuntu (st_dev: 64769) 1590s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1590s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1590s ok 3 /trash/long-filename 1590s # End of trash tests 1590s ok - glib/trash.test 1590s # Running test: glib/async-close-output-stream.test 1590s TAP version 14 1590s # random seed: R02Sa055bfc255f3da97bc9d1e30e5925405 1590s 1..3 1590s # Start of close-async tests 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1590s ok 1 /close-async/without-flush 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1590s ok 2 /close-async/with-flush 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1590s ok 3 /close-async/with-async-flush 1590s # End of close-async tests 1590s ok - glib/async-close-output-stream.test 1590s # Running test: glib/gdbus-connection.test 1590s TAP version 14 1590s # random seed: R02Sb7e0b255c67c8afa20ab588a5d0ef3c3 1590s 1..9 1590s # Start of gdbus tests 1590s # Start of connection tests 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/bus-failure/.dirs/runtime 1590s ok 1 /gdbus/connection/bus-failure 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/basic/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 2 /gdbus/connection/basic 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/life-cycle/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 3 /gdbus/connection/life-cycle 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/send/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 4 /gdbus/connection/send 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signals/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 5 /gdbus/connection/signals 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/signal-match-rules/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 6 /gdbus/connection/signal-match-rules 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/filter/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 7 /gdbus/connection/filter 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/serials/.dirs/runtime 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 8 /gdbus/connection/serials 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AR9VJ3/gdbus/connection/cancel/.dirs/runtime 1590s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s ok 9 /gdbus/connection/cancel 1590s # End of connection tests 1590s # End of gdbus tests 1590s ok - glib/gdbus-connection.test 1590s # Running test: glib/type.test 1590s TAP version 14 1590s # random seed: R02S319b45d7c9849f9d5a7ff09b49574256 1590s 1..6 1590s # Start of type tests 1590s ok 1 /type/registration-serial 1590s ok 2 /type/interface-prerequisite 1590s ok 3 /type/interface-check 1590s ok 4 /type/next-base 1590s ok 5 /type/is-a 1590s # Invalid types can’t be queried. 1590s # Unclassed types can’t be queried. 1590s ok 6 /type/query 1590s # End of type tests 1590s ok - glib/type.test 1590s # Running test: glib/utf8-misc.test 1590s TAP version 14 1590s # random seed: R02S53eda03f0a780b4ce5c80c2089b39e05 1590s 1..7 1590s # Start of utf8 tests 1590s ok 1 /utf8/strlen 1590s ok 2 /utf8/strncpy 1590s ok 3 /utf8/strrchr 1590s ok 4 /utf8/reverse 1590s ok 5 /utf8/substring 1590s ok 6 /utf8/make-valid 1590s ok 7 /utf8/truncate-middle 1590s # End of utf8 tests 1590s ok - glib/utf8-misc.test 1590s # Running test: glib/unicode-encoding.test 1590s TAP version 14 1590s # random seed: R02S8c910904cc91b1aec4e5b28403ca6d05 1590s 1..1 1590s # Start of unicode tests 1590s ok 1 /unicode/encoding 1590s # End of unicode tests 1590s ok - glib/unicode-encoding.test 1590s # Running test: glib/gdbus-peer.test 1590s TAP version 14 1590s # random seed: R02S16ed57d6423a306db2009b254af670c2 1590s 1..12 1590s # Start of gdbus tests 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/.dirs/runtime 1590s # Testing with unix:dir address 1590s # Testing with unix:tmpdir address 1590s # Testing with unix:path address 1590s ok 1 /gdbus/peer-to-peer 1590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/home 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/cache 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/system-config2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/config 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/system-data2 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/data 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/state 1590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/delayed-message-processing/.dirs/runtime 1590s # Testing with unix:dir address 1591s ok 2 /gdbus/delayed-message-processing 1591s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/nonce-tcp/.dirs/runtime 1591s ok 3 /gdbus/nonce-tcp 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/tcp-anonymous/.dirs/runtime 1591s ok 4 /gdbus/tcp-anonymous 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/credentials/.dirs/runtime 1591s ok 5 /gdbus/credentials 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/codegen-peer-to-peer/.dirs/runtime 1591s # Testing with unix:dir address 1591s # Machine ID: f88bfa2b0c344395b52207e0fc4aee78 1592s ok 6 /gdbus/codegen-peer-to-peer 1592s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1592s # Start of peer-to-peer tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/signals/.dirs/runtime 1592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1592s # Testing with unix:dir address 1592s ok 7 /gdbus/peer-to-peer/signals 1592s # Start of invalid tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1592s ok 8 /gdbus/peer-to-peer/invalid/server 1592s # Start of conn tests 1592s # Start of stream tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1592s ok - glib/gdbus-peer.test 1592s # Running test: glib/contexts.test 1592s ok - glib/contexts.test 1592s # Running test: glib/cxx.test 1592s ok - glib/cxx.test 1592s # Running test: glib/file.test 1592s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1592s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1592s # End of stream tests 1592s # Start of addr tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1592s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HZJUJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1592s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1592s # End of addr tests 1592s # End of conn tests 1592s # End of invalid tests 1592s # End of peer-to-peer tests 1592s # End of gdbus tests 1592s TAP version 14 1592s # random seed: R02S9a8ebc34bd4ac277600daeb8d8fce3f2 1592s 1..5 1592s # Start of gio tests 1592s # Start of contexts tests 1592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1592s ok 1 /gio/contexts/thread-independence 1592s ok 2 /gio/contexts/context-independence 1592s # Start of context-specific tests 1592s ok 3 /gio/contexts/context-specific/identity 1592s ok 4 /gio/contexts/context-specific/emit 1592s ok 5 /gio/contexts/context-specific/emit-and-unref 1592s # End of context-specific tests 1592s # End of contexts tests 1592s # End of gio tests 1592s TAP version 14 1592s # random seed: R02Saf30379bb6d9a1a149205780cae8fafc 1592s 1..2 1592s # Start of gtask tests 1592s # 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. 1592s ok 1 /gtask/name 1592s # Start of name tests 1592s # 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. 1592s ok 2 /gtask/name/macro-wrapper 1592s # End of name tests 1592s # End of gtask tests 1592s TAP version 14 1592s # random seed: R02S50165131511f5f5a6e24b74e57bad4fa 1592s 1..55 1592s # Start of file tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/basic/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/basic/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/basic/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/basic/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/basic/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/basic/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/basic/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/basic/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/basic/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/basic/.dirs/runtime 1592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1592s ok 1 /file/basic 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/build-filename/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/build-filename/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/build-filename/.dirs/runtime 1592s ok 2 /file/build-filename 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/build-filenamev/.dirs/runtime 1592s ok 3 /file/build-filenamev 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/parent/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/parent/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/parent/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/parent/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/parent/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/parent/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/parent/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/parent/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/parent/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/parent/.dirs/runtime 1592s ok 4 /file/parent 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/child/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/child/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/child/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/child/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/child/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/child/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/child/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/child/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/child/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/child/.dirs/runtime 1592s ok 5 /file/child 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/empty-path/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/empty-path/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/empty-path/.dirs/runtime 1592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1592s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1592s ok 6 /file/empty-path 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/type/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/type/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/type/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/type/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/type/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/type/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/type/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/type/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/type/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/type/.dirs/runtime 1592s ok 7 /file/type 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/parse-name/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/parse-name/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/parse-name/.dirs/runtime 1592s ok 8 /file/parse-name 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace-load/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace-load/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace-load/.dirs/runtime 1592s ok 9 /file/replace-load 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace-cancel/.dirs/runtime 1592s # Bug Reference: https://bugzilla.gnome.org/629301 1592s ok 10 /file/replace-cancel 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace-symlink/.dirs/runtime 1592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1592s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1592s # Using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_symlink_O94MJ3 1592s ok 11 /file/replace-symlink 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-new-tmp/.dirs/runtime 1592s ok 12 /file/async-new-tmp 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-new-tmp-dir/.dirs/runtime 1592s ok 13 /file/async-new-tmp-dir 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-delete/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-delete/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-delete/.dirs/runtime 1592s ok 14 /file/async-delete 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-make-symlink/.dirs/runtime 1592s ok 15 /file/async-make-symlink 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/copy-preserve-mode/.dirs/runtime 1592s # Current umask: 2 1592s # Vector 0 1592s # Vector 1 1592s # Vector 2 1592s # Vector 3 1592s # Vector 4 1592s # Vector 5 1592s # Vector 6 1592s # Vector 7 1592s # Vector 8 1592s # Vector 9 1592s # Vector 10 1592s ok 16 /file/copy-preserve-mode 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/copy-async-with-closures/.dirs/runtime 1592s ok 17 /file/copy-async-with-closures 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/measure/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/measure/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/measure/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/measure/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/measure/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/measure/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/measure/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/measure/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/measure/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/measure/.dirs/runtime 1592s ok 18 /file/measure 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/measure-async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/measure-async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/measure-async/.dirs/runtime 1592s ok 19 /file/measure-async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/load-bytes/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/load-bytes/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/load-bytes/.dirs/runtime 1592s ok 20 /file/load-bytes 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/load-bytes-async/.dirs/runtime 1592s ok 21 /file/load-bytes-async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/load-bytes-4gb/.dirs/runtime 1592s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/load-contents-4gb/.dirs/runtime 1592s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/load-contents-4gb-async/.dirs/runtime 1592s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/.dirs/runtime 1592s ok 25 /file/writev 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/build-attribute-list-for-copy/.dirs/runtime 1592s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1592s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1592s # 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::* 1592s # 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::* 1592s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1592s # Attributes for copy: standard::size,xattr::* 1592s # Attributes for copy: standard::size,unix::mode,xattr::* 1592s ok 26 /file/build-attribute-list-for-copy 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/move_async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/move_async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/move_async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/move_async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/move_async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/move_async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/move_async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/move_async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/move_async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/move_async/.dirs/runtime 1592s ok 27 /file/move_async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/move-async-with-closures/.dirs/runtime 1592s ok 28 /file/move-async-with-closures 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/query-zero-length-content-type/.dirs/runtime 1592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1592s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1592s ok 29 /file/query-zero-length-content-type 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/runtime 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/data/applications 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/config 1592s ok 30 /file/query-default-handler-file 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/runtime 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/data/applications 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config 1592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_H7YOJ3/file/query-default-handler-file/.dirs/config to /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config 1592s ok 31 /file/query-default-handler-file-async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/runtime 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/data/applications 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config 1592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_H7YOJ3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config 1592s ok 32 /file/query-default-handler-uri 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/runtime 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/data/applications 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/config 1592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_H7YOJ3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/config 1592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_H7YOJ3/file/query-default-handler-uri-async/.dirs/config 1592s ok 33 /file/query-default-handler-uri-async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/enumerator-cancellation/.dirs/runtime 1592s ok 34 /file/enumerator-cancellation 1592s # Start of async-create-delete tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-create-delete/0/.dirs/runtime 1592s ok 35 /file/async-create-delete/0 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-create-delete/1/.dirs/runtime 1592s ok 36 /file/async-create-delete/1 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-create-delete/10/.dirs/runtime 1592s ok 37 /file/async-create-delete/10 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-create-delete/25/.dirs/runtime 1592s ok 38 /file/async-create-delete/25 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/async-create-delete/4096/.dirs/runtime 1592s ok 39 /file/async-create-delete/4096 1592s # End of async-create-delete tests 1592s # Start of replace-symlink tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace-symlink/using-etag/.dirs/runtime 1592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1592s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1592s # Using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_symlink_using_etag_JF7SJ3 1593s # Executing: glib/file.test 1594s ok 40 /file/replace-symlink/using-etag 1594s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1594s # End of replace-symlink tests 1594s # Start of replace tests 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace/write-only/.dirs/runtime 1594s # /file/replace/write-only summary: Test various situations for g_file_replace() 1594s # Current umask: 2 1594s # Test 0, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_SWYSJ3 1594s # Test 1, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_9XZSJ3 1594s # Test 2, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_TP1SJ3 1594s # Test 3, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_NLN2J3 1594s # Test 4, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_YHN2J3 1594s # Test 5, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_9BN2J3 1594s # Test 6, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_5JP2J3 1594s # Test 7, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_ROE2J3 1594s # Test 8, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_OHE2J3 1594s # Test 9, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_XQF2J3 1594s # Test 10, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_0IH2J3 1594s # Test 11, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_Y3J2J3 1594s # Test 12, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_2XJ2J3 1594s # Test 13, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_FN81J3 1594s # Test 14, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_81A2J3 1594s # Test 15, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_F4B2J3 1594s # Test 16, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_0Z21J3 1594s # Test 17, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_J441J3 1594s # Test 18, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_8NA3J3 1594s # Test 19, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_KSD3J3 1594s # Test 20, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_O0D3J3 1594s # Test 21, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_I232J3 1594s # Test 22, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_1B52J3 1594s # Test 23, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_SO62J3 1594s # Test 24, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_9W82J3 1594s # Test 25, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_8OY2J3 1594s # Test 26, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_4KY2J3 1594s # Test 27, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_8AY2J3 1594s # Test 28, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_RW02J3 1594s # Test 29, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_8612J3 1594s # Test 30, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_RL32J3 1594s # Test 31, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_QB32J3 1594s # Test 32, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_J6R2J3 1594s # Test 33, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_MOT2J3 1594s # Test 34, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_BKT2J3 1594s # Test 35, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_QVU2J3 1594s # Test 36, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_0AW2J3 1594s # Test 37, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_DN70J3 1594s # Test 38, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_IJ80J3 1594s # Test 39, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_C5A1J3 1594s # Test 40, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_FU00J3 1594s # Test 41, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_9920J3 1594s # Test 42, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_FQ40J3 1594s # Test 43, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_W6T0J3 1594s # Test 44, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_AQV0J3 1594s # Test 45, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_4IV0J3 1594s # Test 46, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_EVW0J3 1594s # Test 47, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_71W0J3 1594s # Test 48, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_LHZ0J3 1594s # We do not have CAP_DAC_OVERRIDE or equivalent 1594s ok 41 /file/replace/write-only 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/replace/read-write/.dirs/runtime 1594s # /file/replace/read-write summary: Test various situations for g_file_replace() 1594s # Current umask: 2 1594s # Test 0, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_YCZ0J3 1594s # Test 1, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_W3Y0J3 1594s # Test 2, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_W1O0J3 1594s # Test 3, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_IHQ0J3 1594s # Test 4, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_4SR0J3 1594s # Test 5, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_2MR0J3 1594s # Test 6, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_K3S0J3 1594s # Test 7, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_NNX1J3 1594s # Test 8, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_OFX1J3 1594s # Test 9, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_IMX1J3 1594s # Test 10, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_9RY1J3 1594s # Test 11, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_6601J3 1594s # Test 12, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_W001J3 1594s # Test 13, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_S501J3 1594s # Test 14, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_R4Q1J3 1594s # Test 15, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_BLS1J3 1594s # Test 16, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_4YT1J3 1594s # Test 17, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_NCK1J3 1594s # Test 18, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_QOL1J3 1594s # Test 19, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_J4M1J3 1594s # Test 20, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_CYC1J3 1594s # Test 21, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_FDE1J3 1594s # Test 22, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_76G1J3 1594s # Test 23, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_IXG1J3 1594s # Test 24, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_UNH1J3 1594s # Test 25, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_04SZJ3 1594s # Test 26, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_C0SZJ3 1594s # Test 27, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_URSZJ3 1594s # Test 28, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_JEVZJ3 1594s # Test 29, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_ESWZJ3 1594s # Test 30, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_1KWZJ3 1594s # Test 31, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_WWXZJ3 1594s # Test 32, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_X7LZJ3 1594s # Test 33, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_0POZJ3 1594s # Test 34, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_OJOZJ3 1594s # Test 35, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_6NOZJ3 1594s # Test 36, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_Z4QZJ3 1594s # Test 37, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_P8GZJ3 1594s # Test 38, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_RWIZJ3 1594s # Test 39, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_S8JZJ3 1594s # Test 40, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_AV8YJ3 1594s # Test 41, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_MMBZJ3 1594s # Test 42, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_52DZJ3 1594s # Test 43, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_MJH0J3 1594s # Test 44, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_M2J0J3 1594s # Test 45, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_UTJ0J3 1594s # Test 46, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_3XL0J3 1594s # Test 47, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_U3L0J3 1594s # Test 48, using temporary directory /tmp/test_file_H7YOJ3/g_file_replace_7MM0J3 1594s # We do not have CAP_DAC_OVERRIDE or equivalent 1594s ok 42 /file/replace/read-write 1594s # End of replace tests 1594s # Start of copy tests 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/copy/progress/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/copy/progress/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/copy/progress/.dirs/runtime 1594s ok 43 /file/copy/progress 1594s # End of copy tests 1594s # Start of writev tests 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/no-bytes-written/.dirs/runtime 1594s ok 44 /file/writev/no-bytes-written 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/no-vectors/.dirs/runtime 1594s ok 45 /file/writev/no-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/empty-vectors/.dirs/runtime 1594s ok 46 /file/writev/empty-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/too-big-vectors/.dirs/runtime 1594s ok 47 /file/writev/too-big-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async/.dirs/runtime 1594s ok 48 /file/writev/async 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async_all/.dirs/runtime 1594s ok 49 /file/writev/async_all 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async_all-empty-vectors/.dirs/runtime 1594s ok 50 /file/writev/async_all-empty-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async_all-no-vectors/.dirs/runtime 1594s ok 51 /file/writev/async_all-no-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async_all-to-big-vectors/.dirs/runtime 1594s ok 52 /file/writev/async_all-to-big-vectors 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/writev/async_all-cancellation/.dirs/runtime 1594s ok 53 /file/writev/async_all-cancellation 1594s # End of writev tests 1594s # Start of from-uri tests 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/from-uri/ignores-query-string/.dirs/runtime 1594s ok 54 /file/from-uri/ignores-query-string 1594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/home 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/cache 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/system-config2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/config 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/system-data2 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/data 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/state 1594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_H7YOJ3/file/from-uri/ignores-fragment/.dirs/runtime 1594s ok 55 /file/from-uri/ignores-fragment 1594s # End of from-uri tests 1594s # End of file tests 1594s ok - glib/file.test 1594s # Running test: glib/refcount.test 1594s TAP version 14 1594s # random seed: R02Sf3bd5a0b06534e4cad3f0f2849d936c7 1594s 1..4 1594s # Start of refcount tests 1594s ok 1 /refcount/grefcount 1594s ok 2 /refcount/gatomicrefcount 1594s # Start of grefcount tests 1594s ok 3 /refcount/grefcount/saturation 1594s # End of grefcount tests 1594s # Start of gatomicrefcount tests 1594s ok - glib/refcount.test 1594s # Running test: glib/scannerapi.test 1594s ok 4 /refcount/gatomicrefcount/saturation 1594s # End of gatomicrefcount tests 1594s # End of refcount tests 1594s TAP version 14 1594s # random seed: R02S138a7a584b8bbe83327d0aa66b9ee9a4 1594s 1..8 1594s # Start of scanner tests 1594s ok 1 /scanner/warn 1595s ok 2 /scanner/error 1595s ok 3 /scanner/symbols 1595s ok 4 /scanner/tokens 1595s ok 5 /scanner/multiline-comment 1595s ok 6 /scanner/int-to-float 1595s ok 7 /scanner/fd-input 1595s # Start of fd-input tests 1595s ok 8 /scanner/fd-input/rewind 1595s # End of fd-input tests 1595s # End of scanner tests 1595s ok - glib/scannerapi.test 1595s # Running test: glib/gdbus-addresses.test 1595s TAP version 14 1595s # random seed: R02S027da15f3f1bba1e61550015a485a3cf 1595s 1..9 1595s # Start of gdbus tests 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/empty-address/.dirs/runtime 1595s ok 1 /gdbus/empty-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unsupported-address/.dirs/runtime 1595s ok 2 /gdbus/unsupported-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/address-parsing/.dirs/runtime 1595s ok 3 /gdbus/address-parsing 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/unix-address/.dirs/runtime 1595s ok 4 /gdbus/unix-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/nonce-tcp-address/.dirs/runtime 1595s ok 5 /gdbus/nonce-tcp-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/tcp-address/.dirs/runtime 1595s ok 6 /gdbus/tcp-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/autolaunch-address/.dirs/runtime 1595s ok 7 /gdbus/autolaunch-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/mixed-address/.dirs/runtime 1595s ok 8 /gdbus/mixed-address 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZFFYJ3/gdbus/escape-address/.dirs/runtime 1595s ok - glib/gdbus-addresses.test 1595s # Running test: glib/memory-output-stream.test 1595s ok 9 /gdbus/escape-address 1595s # End of gdbus tests 1595s TAP version 14 1595s # random seed: R02S3f11ed948c7c3109b5ceadcd4e5ccee6 1595s 1..10 1595s # Start of memory-output-stream tests 1595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1595s ok 1 /memory-output-stream/truncate 1595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1595s ok 2 /memory-output-stream/get-data-size 1595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1595s ok 3 /memory-output-stream/properties 1595s ok 4 /memory-output-stream/write-bytes 1595s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1595s ok 5 /memory-output-stream/write-null 1595s ok 6 /memory-output-stream/writev 1595s ok 7 /memory-output-stream/writev_nonblocking 1595s ok 8 /memory-output-stream/steal_as_bytes 1595s # Start of seek tests 1595s ok 9 /memory-output-stream/seek/fixed 1595s ok 10 /memory-output-stream/seek/resizable 1595s # End of seek tests 1595s # End of memory-output-stream tests 1595s ok - glib/memory-output-stream.test 1595s # Running test: glib/cxx-20.test 1595s TAP version 14 1595s # random seed: R02S77517a5dc23ba34233f991fea97c1e8c 1595s 1..2 1595s # Start of gtask tests 1595s # 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. 1595s ok 1 /gtask/name 1595s # Start of name tests 1595s # 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. 1595s ok 2 /gtask/name/macro-wrapper 1595s # End of name tests 1595s # End of gtask tests 1595s ok - glib/cxx-20.test 1595s # Running test: glib/gi-compile-repository.py.test 1595s TAP version 13 1595s ok 1 __main__.TestGICompileRepository.test_open_failure 1595s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1595s # gi-compile-repository: /usr/bin/gi-compile-repository 1595s # tmpdir: /tmp/tmp21zw88i7 1595s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp21zw88i7/invalid.typelib'] 1595s # Return code: 1 1595s # Output: 1595s # 1595s # Error: 1595s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1595s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1595s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1595s # gi-compile-repository: /usr/bin/gi-compile-repository 1595s # tmpdir: /tmp/tmphehe29fo 1595s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmphehe29fo/GLib-2.typelib'] 1595s # Return code: 0 1595s # Output: 1595s # 1595s # Error: 1595s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1595s # gi-compile-repository: /usr/bin/gi-compile-repository 1595s # tmpdir: /tmp/tmpsnlamyeq 1595s # 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'] 1595s # Return code: 1 1595s # Output: 1595s # 1595s # Error: 1595s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1595s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1595s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1595s # gi-compile-repository: /usr/bin/gi-compile-repository 1595s # tmpdir: /tmp/tmpithi24bg 1595s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpithi24bg/GObject-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1595s # Return code: 0 1595s # Output: 1595s # 1595s # Error: 1595s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1595s # gi-compile-repository: /usr/bin/gi-compile-repository 1595s # tmpdir: /tmp/tmp0lp57ji7 1595s # 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'] 1595s # Return code: 1 1595s # Output: 1595s # 1595s # Error: 1595s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1596s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1596s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1596s # gi-compile-repository: /usr/bin/gi-compile-repository 1596s # tmpdir: /tmp/tmps_z4ewi2 1596s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmps_z4ewi2/Gio-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1596s # Return code: 0 1596s # Output: 1596s # 1596s # Error: 1596s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1596s # gi-compile-repository: /usr/bin/gi-compile-repository 1596s # tmpdir: /tmp/tmpmpmxyidh 1596s # 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'] 1596s # Return code: 1 1596s # Output: 1596s # 1596s # Error: 1596s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1596s 1..7 1596s ok - glib/gi-compile-repository.py.test 1596s # Running test: glib/print.test 1596s TAP version 14 1596s # random seed: R02S1f50cae10b806510a5e16d2774f51520 1596s 1..1 1596s ok 1 /print-console # SKIP Testing console output only supported on Windows 1596s ok - glib/print.test 1596s # Running test: glib/pathbuf.test 1596s TAP version 14 1596s # random seed: R02Sf05f98f208ebf91c23584f4cace57ab1 1596s 1..3 1596s # Start of pathbuf tests 1596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/home 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/cache 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/system-config2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/config 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/system-data2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/data 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/state 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JQ8PJ3/pathbuf/init/.dirs/runtime 1596s # Initializing empty path buf 1596s # Initializing with empty path 1596s # Initializing with full path 1596s # Initializing with no path 1596s # Allocating GPathBuf on the heap 1596s ok 1 /pathbuf/init 1596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/home 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/cache 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/system-config2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/config 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/system-data2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/data 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/state 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JQ8PJ3/pathbuf/push-pop/.dirs/runtime 1596s # Pushing relative path component 1596s # Pushing absolute path component 1596s # Popping a path component 1596s # Can't pop the last element of a path buffer 1596s ok 2 /pathbuf/push-pop 1596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/home 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/cache 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/system-config2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/config 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/system-data2 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/data 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/state 1596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JQ8PJ3/pathbuf/filename-extension/.dirs/runtime 1596s ok 3 /pathbuf/filename-extension 1596s # End of pathbuf tests 1596s ok - glib/pathbuf.test 1596s # Running test: glib/memory-monitor.test 1596s ok - glib/memory-monitor.test 1596s TAP version 14 1596s # random seed: R02S1af1a525d96a9f37dade824c0c7f07c6 1596s 1..1 1596s # Start of memory-monitor tests 1596s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1596s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1596s ok 1 /memory-monitor/default 1596s # End of memory-monitor tests 1596s # Running test: glib/spawn-path-search.test 1596s TAP version 14 1596s # random seed: R02S7bb7d16fdcb2c1e293c79d81a29ad54d 1596s 1..7 1596s # Start of spawn tests 1596s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1596s # 1596s # this is spawn-test-helper from glib/tests 1596s # 1596s ok 1 /spawn/do-not-search 1596s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1596s # 1596s # this is spawn-test-helper from path-test-subdir 1596s # 1596s ok 2 /spawn/search-path 1596s # /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. 1596s # 1596s # this is spawn-test-helper from path-test-subdir 1596s # 1596s ok 3 /spawn/search-path-from-envp 1596s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1596s # 1596s # this is spawn-test-helper from path-test-subdir 1596s # 1596s ok 4 /spawn/search-path-ambiguous 1596s # 1596s # this is spawn-test-helper from path-test-subdir 1596s # 1596s ok 5 /spawn/search-path-heap-allocation 1596s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1596s # 1596s # this is spawn-test-helper from glib/tests 1596s # 1596s ok 6 /spawn/search-path-fallback-in-environ 1596s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1596s ok - glib/spawn-path-search.test 1596s # Running test: glib/signals-refcount3.test 1596s # 1596s # this is spawn-test-helper from glib/tests 1596s # 1596s ok 7 /spawn/search-path-fallback-in-envp 1596s # End of spawn tests 1596s TAP version 14 1596s # random seed: R02Sdb231daa4bfa907177b3b5288a5e5b40 1596s 1..1 1596s # Start of gobject tests 1596s # Start of refcount tests 1596s # init 0xc9b6b8e954b0 1596s # 1596s # init 0xc9b6b8e8d580 1596s # 1598s # Executing: glib/signals-refcount3.test 1601s ok - glib/signals-refcount3.test 1601s # Running test: glib/cancellable.test 1601s # dispose 0xc9b6b8e954b0! 1601s # 1601s # dispose 0xc9b6b8e8d580! 1601s # 1601s ok 1 /gobject/refcount/signals 1601s # slow test /gobject/refcount/signals executed in 5.00 secs 1601s # End of refcount tests 1601s # End of gobject tests 1601s TAP version 14 1601s # random seed: R02S360d247c53b8d9c67a7985323ff65b78 1601s 1..18 1601s # Start of cancellable tests 1601s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1601s ok 2 /cancellable/null 1601s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1601s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1601s ok 4 /cancellable/connect-to-disposing-callback 1601s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 1 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 0 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 1 1601s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1601s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1601s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1601s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 1 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 0 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 1 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 0 1601s # Toggle reference callback for GCancellable (0xbec084d89c10), last: 1 1601s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1601s # /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 1601s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1601s # /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 1602s ok - glib/cancellable.test 1602s # Running test: glib/socket-address.test 1602s ok - glib/socket-address.test 1602s # Running test: glib/debugcontroller.test 1602s ok 11 /cancellable/resets-on-cancel-callback-hangs 1602s ok 12 /cancellable/poll-fd 1602s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1602s ok 13 /cancellable/poll-fd-cancelled 1602s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1602s ok 14 /cancellable/poll-fd-cancelled-threaded 1602s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1602s ok 15 /cancellable/cancel-reset-races 1602s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1602s ok 16 /cancellable/cancel-reset-connect-races 1602s # End of cancellable tests 1602s # Start of cancellable-source tests 1602s # /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) 1602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1602s ok 17 /cancellable-source/threaded-dispose 1602s # slow test /cancellable-source/threaded-dispose executed in 0.68 secs 1602s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1602s ok 18 /cancellable-source/can-be-fired-multiple-times 1602s # End of cancellable-source tests 1602s TAP version 14 1602s # random seed: R02Sa207b905be04b99f793136dfa7fdd270 1602s 1..2 1602s # Start of socket tests 1602s # Start of address tests 1602s # Start of unix tests 1602s ok 1 /socket/address/unix/construct 1602s ok 2 /socket/address/unix/to-string 1602s # End of unix tests 1602s # End of address tests 1602s # End of socket tests 1602s TAP version 14 1602s # random seed: R02Sb0114433480e3abf2644dfd06c6e69b5 1602s 1..3 1602s # Start of debug-controller tests 1602s # Start of dbus tests 1602s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1602s # GLib-GIO-DEBUG: Debug output enabled 1602s # GLib-GIO-DEBUG: Debug output disabled 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s ok 1 /debug-controller/dbus/basic 1602s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1602s ok 2 /debug-controller/dbus/duplicate 1602s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1602s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1602s # End of dbus tests 1602s # End of debug-controller tests 1602s ok - glib/debugcontroller.test 1602s # Running test: glib/cond.test 1602s TAP version 14 1602s # random seed: R02Se8140be4d3fb1f552879117ca4f642ca 1602s 1..4 1602s # Start of thread tests 1602s ok 1 /thread/cond1 1602s ok 2 /thread/cond2 1602s # Start of cond tests 1603s ok 3 /thread/cond/wait-until 1603s # slow test /thread/cond/wait-until executed in 1.02 secs 1603s # Start of wait-until tests 1603s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1603s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1603s # Executing: glib/cond.test 1604s ok - glib/cond.test 1604s ok 4 /thread/cond/wait-until/contended-and-interrupted 1604s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1604s # End of wait-until tests 1604s # End of cond tests 1604s # End of thread tests 1604s # Running test: glib/power-profile-monitor-portal.test 1605s ok - glib/power-profile-monitor-portal.test 1605s # Running test: glib/gobject-private.test 1605s ok - glib/gobject-private.test 1605s # Running test: glib/struct-info.test 1605s ok - glib/struct-info.test 1605s # Running test: glib/signalgroup.test 1605s ok - glib/signalgroup.test 1605s # Running test: glib/converter.test 1605s ok - glib/converter.test 1605s # Running test: glib/gdatetime.test 1605s TAP version 13 1605s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1605s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1605s 1..2 1605s TAP version 14 1605s # random seed: R02S3351dcd408bc9a2dfcf1e72117a6edd2 1605s 1..3 1605s # Start of private tests 1605s ok 1 /private/instance 1605s ok 2 /private/derived-instance 1605s ok 3 /private/mixed-derived-instance 1605s # End of private tests 1605s TAP version 14 1605s # random seed: R02S89548e76f470a9b6fcfbc1693528a0a5 1605s 1..4 1605s # Start of struct-info tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KB7KJ3/struct-info/field-iterators/.dirs/runtime 1605s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1605s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1605s ok 1 /struct-info/field-iterators 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KB7KJ3/struct-info/sizeof-gvalue/.dirs/runtime 1605s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1605s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1605s ok 2 /struct-info/sizeof-gvalue 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KB7KJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1605s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1605s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1605s ok 3 /struct-info/is-pointer-for-struct-method-arg 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_KB7KJ3/struct-info/boxed/.dirs/runtime 1605s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1605s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1605s ok 4 /struct-info/boxed 1605s # End of struct-info tests 1605s TAP version 14 1605s # random seed: R02Sb3d424a4ab567da4a11ece9bedd14a23 1605s 1..9 1605s # Start of GObject tests 1605s # Start of SignalGroup tests 1605s ok 1 /GObject/SignalGroup/invalid 1605s ok 2 /GObject/SignalGroup/simple 1605s ok 3 /GObject/SignalGroup/changing-target 1605s ok 4 /GObject/SignalGroup/blocking 1605s ok 5 /GObject/SignalGroup/weak-ref-target 1605s ok 6 /GObject/SignalGroup/connect-object 1605s ok 7 /GObject/SignalGroup/signal-parsing 1605s ok 8 /GObject/SignalGroup/properties 1605s ok 9 /GObject/SignalGroup/interface 1605s # Start of signal-parsing tests 1605s # End of signal-parsing tests 1605s # End of SignalGroup tests 1605s # End of GObject tests 1605s TAP version 14 1605s # random seed: R02Sfe356fe4fc6e7f3472867f99369b36d2 1605s 1..3 1605s # Start of converter tests 1605s ok 1 /converter/bytes 1605s ok 2 /converter/extra-bytes-at-end 1605s ok 3 /converter/gzip-os-property 1605s # End of converter tests 1605s TAP version 14 1605s # random seed: R02S0f0816a854e2d2e373fae3c4c0ff467a 1605s 1..68 1605s # Start of GDateTime tests 1605s # Bug Reference: http://bugzilla.gnome.org/702674 1605s ok 1 /GDateTime/invalid 1605s ok 2 /GDateTime/add_days 1605s ok 3 /GDateTime/add_full 1605s ok 4 /GDateTime/add_hours 1605s ok 5 /GDateTime/add_minutes 1605s ok 6 /GDateTime/add_months 1605s ok 7 /GDateTime/add_seconds 1605s ok 8 /GDateTime/add_weeks 1605s ok 9 /GDateTime/add_years 1605s ok 10 /GDateTime/compare 1605s ok 11 /GDateTime/diff 1605s ok 12 /GDateTime/equal 1605s ok 13 /GDateTime/get_day_of_week 1605s ok 14 /GDateTime/get_day_of_month 1605s ok 15 /GDateTime/get_day_of_year 1605s ok 16 /GDateTime/get_hour 1605s ok 17 /GDateTime/get_microsecond 1605s ok 18 /GDateTime/get_minute 1605s ok 19 /GDateTime/get_month 1605s ok 20 /GDateTime/get_second 1605s ok 21 /GDateTime/get_utc_offset 1605s ok 22 /GDateTime/get_year 1605s ok 23 /GDateTime/hash 1605s ok 24 /GDateTime/new_from_unix 1605s ok 25 /GDateTime/new_from_unix_utc 1605s ok 26 /GDateTime/new_from_timeval 1605s ok 27 /GDateTime/new_from_timeval_utc 1605s ok 28 /GDateTime/new_from_iso8601 1605s ok 29 /GDateTime/new_full 1605s ok 30 /GDateTime/now 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1605s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1605s # %a -> expected: Sat 1605s # %a -> actual: Sat 1605s # %A -> expected: Saturday 1605s # %A -> actual: Saturday 1605s # %b -> expected: Oct 1605s # %b -> actual: Oct 1605s # %B -> expected: October 1605s # %B -> actual: October 1605s # %d -> expected: 24 1605s # %d -> actual: 24 1605s # %d -> expected: 01 1605s # %d -> actual: 01 1605s # %e -> expected: 24 1605s # %e -> actual: 24 1605s # %e -> expected:  1 1605s # %e -> actual:  1 1605s # %f -> expected: 001000 1605s # %f -> actual: 001000 1605s # %h -> expected: Oct 1605s # %h -> actual: Oct 1605s # %H -> expected: 00 1605s # %H -> actual: 00 1605s # %H -> expected: 15 1605s # %H -> actual: 15 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %I -> expected: 03 1605s # %I -> actual: 03 1605s # %j -> expected: 297 1605s # %j -> actual: 297 1605s # %k -> expected:  0 1605s # %k -> actual:  0 1605s # %k -> expected: 13 1605s # %k -> actual: 13 1605s # %l -> expected: 12 1605s # %l -> actual: 12 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %l -> expected:  1 1605s # %l -> actual:  1 1605s # %l -> expected: 10 1605s # %l -> actual: 10 1605s # %m -> expected: 10 1605s # %m -> actual: 10 1605s # %M -> expected: 00 1605s # %M -> actual: 00 1605s # %p -> expected: AM 1605s # %p -> actual: AM 1605s # %p -> expected: PM 1605s # %p -> actual: PM 1605s # %P -> expected: am 1605s # %P -> actual: am 1605s # %P -> expected: pm 1605s # %P -> actual: pm 1605s # %r -> expected: 12:00:00 AM 1605s # %r -> actual: 12:00:00 AM 1605s # %r -> expected: 01:13:13 PM 1605s # %r -> actual: 01:13:13 PM 1605s # %R -> expected: 00:00 1605s # %R -> actual: 00:00 1605s # %R -> expected: 13:13 1605s # %R -> actual: 13:13 1605s # %S -> expected: 00 1605s # %S -> actual: 00 1605s # %t -> expected: 1605s # %t -> actual: 1605s # %u -> expected: 6 1605s # %u -> actual: 6 1605s # %x -> expected: 10/24/09 1605s # %x -> actual: 10/24/09 1605s # %X -> expected: 00:00:00 1605s # %X -> actual: 00:00:00 1605s # %X -> expected: 13:14:15 1605s # %X -> actual: 13:14:15 1605s # %y -> expected: 09 1605s # %y -> actual: 09 1605s # %Y -> expected: 2009 1605s # %Y -> actual: 2009 1605s # %% -> expected: % 1605s # %% -> actual: % 1605s # % -> expected: 1605s # % -> actual: 1605s # %9 -> expected: (null) 1605s # %9 -> actual: (null) 1605s # %Z -> expected: UTC 1605s # %Z -> actual: UTC 1605s # %#Z %Z -> expected: utc UTC 1605s # %#Z %Z -> actual: utc UTC 1605s ok 32 /GDateTime/printf 1605s # %a -> expected: 土 1605s # %a -> actual: 土 1605s # %A -> expected: 土曜日 1605s # %A -> actual: 土曜日 1605s # %b -> expected: 10月 1605s # %b -> actual: 10月 1605s # %B -> expected: 10月 1605s # %B -> actual: 10月 1605s # %c -> expected: 2009年10月24日 00時00分00秒 1605s # %c -> actual: 2009年10月24日 00時00分00秒 1605s # %C -> expected: 20 1605s # %C -> actual: 20 1605s # %d -> expected: 24 1605s # %d -> actual: 24 1605s # %d -> expected: 01 1605s # %d -> actual: 01 1605s # %e -> expected: 24 1605s # %e -> actual: 24 1605s # %h -> expected: 10月 1605s # %h -> actual: 10月 1605s # %H -> expected: 00 1605s # %H -> actual: 00 1605s # %H -> expected: 15 1605s # %H -> actual: 15 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %I -> expected: 03 1605s # %I -> actual: 03 1605s # %j -> expected: 297 1605s # %j -> actual: 297 1605s # %k -> expected:  0 1605s # %k -> actual:  0 1605s # %k -> expected: 13 1605s # %k -> actual: 13 1605s # %l -> expected: 12 1605s # %l -> actual: 12 1605s # %I -> expected: 12 1605s # %I -> actual: 12 1605s # %l -> expected:  1 1605s # %l -> actual:  1 1605s # %l -> expected: 10 1605s # %l -> actual: 10 1605s # %m -> expected: 10 1605s # %m -> actual: 10 1605s # %M -> expected: 00 1605s # %M -> actual: 00 1605s # %p -> expected: 午前 1605s # %p -> actual: 午前 1605s # %p -> expected: 午後 1605s # %p -> actual: 午後 1605s # %P -> expected: 午前 1605s # %P -> actual: 午前 1605s # %P -> expected: 午後 1605s # %P -> actual: 午後 1605s # %r -> expected: 午前12時00分00秒 1605s # %r -> actual: 午前12時00分00秒 1605s # %r -> expected: 午後01時13分13秒 1605s # %r -> actual: 午後01時13分13秒 1605s # %R -> expected: 00:00 1605s # %R -> actual: 00:00 1605s # %R -> expected: 13:13 1605s # %R -> actual: 13:13 1605s # %S -> expected: 00 1605s # %S -> actual: 00 1605s # %t -> expected: 1605s # %t -> actual: 1605s # %u -> expected: 6 1605s # %u -> actual: 6 1605s # %x -> expected: 2009年10月24日 1605s # %x -> actual: 2009年10月24日 1605s # %X -> expected: 00時00分00秒 1605s # %X -> actual: 00時00分00秒 1605s # %X -> expected: 13時14分15秒 1605s # %X -> actual: 13時14分15秒 1605s # %y -> expected: 09 1605s # %y -> actual: 09 1605s # %Y -> expected: 2009 1605s # %Y -> actual: 2009 1605s # %% -> expected: % 1605s # %% -> actual: % 1605s # % -> expected: 1605s # % -> actual: 1605s # %9 -> expected: (null) 1605s # %9 -> actual: (null) 1605s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1605s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1605s # %EC -> expected: 平成 1605s # %EC -> actual: 平成 1605s # %Ex -> expected: 平成21年10月24日 1605s # %Ex -> actual: 平成21年10月24日 1605s # %EX -> expected: 00時00分00秒 1605s # %EX -> actual: 00時00分00秒 1605s # %Ey -> expected: 21 1605s # %Ey -> actual: 21 1605s # %EY -> expected: 平成21年 1605s # %EY -> actual: 平成21年 1605s ok 33 /GDateTime/non_utf8_printf 1605s # ąśćł -> expected: ąśćł 1605s # ąśćł -> actual: ąśćł 1605s # %H∶%M -> expected: 23∶15 1605s # %H∶%M -> actual: 23∶15 1605s # %H∶%M -> expected: 23∶15 1605s # %H∶%M -> actual: 23∶15 1605s ok 34 /GDateTime/format_unrepresentable 1605s ok 35 /GDateTime/format_iso8601 1605s ok 36 /GDateTime/strftime 1605s # %d -> expected: 01 1605s # %d -> actual: 01 1605s # %_d -> expected: 1 1605s # %_d -> actual: 1 1605s # %-d -> expected: 1 1605s # %-d -> actual: 1 1605s # %0d -> expected: 01 1605s # %0d -> actual: 01 1605s # %d -> expected: 21 1605s # %d -> actual: 21 1605s # %_d -> expected: 21 1605s # %_d -> actual: 21 1605s # %-d -> expected: 21 1605s # %-d -> actual: 21 1605s # %0d -> expected: 21 1605s # %0d -> actual: 21 1605s # %e -> expected:  1 1605s # %e -> actual:  1 1605s # %_e -> expected: 1 1605s # %_e -> actual: 1 1605s # %-e -> expected: 1 1605s # %-e -> actual: 1 1605s # %0e -> expected: 01 1605s # %0e -> actual: 01 1605s # %e -> expected: 21 1605s # %e -> actual: 21 1605s # %_e -> expected: 21 1605s # %_e -> actual: 21 1605s # %-e -> expected: 21 1605s # %-e -> actual: 21 1605s # %0e -> expected: 21 1605s # %0e -> actual: 21 1605s # %a -> expected: Thu 1605s # %a -> actual: Thu 1605s # %^a -> expected: THU 1605s # %^a -> actual: THU 1605s # %#a -> expected: THU 1605s # %#a -> actual: THU 1605s # %A -> expected: Thursday 1605s # %A -> actual: Thursday 1605s # %^A -> expected: THURSDAY 1605s # %^A -> actual: THURSDAY 1605s # %#A -> expected: THURSDAY 1605s # %#A -> actual: THURSDAY 1605s # %b -> expected: Jan 1605s # %b -> actual: Jan 1605s # %^b -> expected: JAN 1605s # %^b -> actual: JAN 1605s # %#b -> expected: JAN 1605s # %#b -> actual: JAN 1605s # %B -> expected: January 1605s # %B -> actual: January 1605s # %^B -> expected: JANUARY 1605s # %^B -> actual: JANUARY 1605s # %#B -> expected: JANUARY 1605s # %#B -> actual: JANUARY 1605s # %h -> expected: Jan 1605s # %h -> actual: Jan 1605s # %^h -> expected: JAN 1605s # %^h -> actual: JAN 1605s # %#h -> expected: JAN 1605s # %#h -> actual: JAN 1605s # %Z -> expected: UTC 1605s # %Z -> actual: UTC 1605s # %^Z -> expected: UTC 1605s # %^Z -> actual: UTC 1605s # %#Z -> expected: utc 1605s # %#Z -> actual: utc 1605s # %H -> expected: 01 1605s # %H -> actual: 01 1605s # %_H -> expected: 1 1605s # %_H -> actual: 1 1605s # %-H -> expected: 1 1605s # %-H -> actual: 1 1605s # %0H -> expected: 01 1605s # %0H -> actual: 01 1605s # %H -> expected: 21 1605s # %H -> actual: 21 1605s # %_H -> expected: 21 1605s # %_H -> actual: 21 1605s # %-H -> expected: 21 1605s # %-H -> actual: 21 1605s # %0H -> expected: 21 1605s # %0H -> actual: 21 1605s # %I -> expected: 01 1605s # %I -> actual: 01 1605s # %_I -> expected: 1 1605s # %_I -> actual: 1 1605s # %-I -> expected: 1 1605s # %-I -> actual: 1 1605s # %0I -> expected: 01 1605s # %0I -> actual: 01 1605s # %I -> expected: 11 1605s # %I -> actual: 11 1605s # %_I -> expected: 11 1605s # %_I -> actual: 11 1605s # %-I -> expected: 11 1605s # %-I -> actual: 11 1605s # %0I -> expected: 11 1605s # %0I -> actual: 11 1605s # %k -> expected:  1 1605s # %k -> actual:  1 1605s # %_k -> expected: 1 1605s # %_k -> actual: 1 1605s # %-k -> expected: 1 1605s # %-k -> actual: 1 1605s # %0k -> expected: 01 1605s # %0k -> actual: 01 1605s # %l -> expected:  1 1605s # %l -> actual:  1 1605s # %_l -> expected: 1 1605s # %_l -> actual: 1 1605s # %-l -> expected: 1 1605s # %-l -> actual: 1 1605s # %0l -> expected: 01 1605s # %0l -> actual: 01 1605s # %l -> expected: 11 1605s # %l -> actual: 11 1605s # %_l -> expected: 11 1605s # %_l -> actual: 11 1605s # %-l -> expected: 11 1605s # %-l -> actual: 11 1605s # %0l -> expected: 11 1605s # %0l -> actual: 11 1605s # %p -> expected: AM 1605s # %p -> actual: AM 1605s # %^p -> expected: AM 1605s # %^p -> actual: AM 1605s # %#p -> expected: am 1605s # %#p -> actual: am 1605s # %P -> expected: am 1605s # %P -> actual: am 1605s # %^P -> expected: AM 1605s # %^P -> actual: AM 1605s # %#P -> expected: am 1605s # %#P -> actual: am 1605s # %OH -> expected: ۲۳ 1605s # %OH -> actual: ۲۳ 1605s # %OI -> expected: ۱۱ 1605s # %OI -> actual: ۱۱ 1605s # %OM -> expected: ۰۰ 1605s # %OM -> actual: ۰۰ 1605s # %Om -> expected: ۰۷ 1605s # %Om -> actual: ۰۷ 1605s # %0Om -> expected: ۰۷ 1605s # %0Om -> actual: ۰۷ 1605s # %-Om -> expected: ۷ 1605s # %-Om -> actual: ۷ 1605s # %_Om -> expected: ۷ 1605s # %_Om -> actual: ۷ 1605s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1605s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1605s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1605s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1605s # %C -> expected: 20 1605s # %C -> actual: 20 1605s # %EC -> expected: 20 1605s # %EC -> actual: 20 1605s # %x -> expected: 02/01/09 1605s # %x -> actual: 02/01/09 1605s # %Ex -> expected: 02/01/09 1605s # %Ex -> actual: 02/01/09 1605s # %X -> expected: 01:02:03 1605s # %X -> actual: 01:02:03 1605s # %EX -> expected: 01:02:03 1605s # %EX -> actual: 01:02:03 1605s # %y -> expected: 09 1605s # %y -> actual: 09 1605s # %Ey -> expected: 09 1605s # %Ey -> actual: 09 1605s # %Y -> expected: 2009 1605s # %Y -> actual: 2009 1605s # %EY -> expected: 2009 1605s # %EY -> actual: 2009 1605s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1605s # Bug Reference: http://bugzilla.gnome.org/749206 1605s # %B -> expected: January 1605s # %B -> actual: January 1605s # %OB -> expected: February 1605s # %OB -> actual: February 1605s # %b -> expected: Mar 1605s # %b -> actual: Mar 1605s # %Ob -> expected: Apr 1605s # %Ob -> actual: Apr 1605s # %h -> expected: May 1605s # %h -> actual: May 1605s # %Oh -> expected: Jun 1605s # %Oh -> actual: Jun 1605s # %B -> expected: Juli 1605s # %B -> actual: Juli 1605s # %OB -> expected: August 1605s # %OB -> actual: August 1605s # %b -> expected: Sep 1605s # %b -> actual: Sep 1605s # %Ob -> expected: Okt 1605s # %Ob -> actual: Okt 1605s # %h -> expected: Nov 1605s # %h -> actual: Nov 1605s # %Oh -> expected: Dez 1605s # %Oh -> actual: Dez 1605s # %B -> expected: enero 1605s # %B -> actual: enero 1605s # %OB -> expected: febrero 1605s # %OB -> actual: febrero 1605s # %b -> expected: mar 1605s # %b -> actual: mar 1605s # %Ob -> expected: abr 1605s # %Ob -> actual: abr 1605s # %h -> expected: may 1605s # %h -> actual: may 1605s # %Oh -> expected: jun 1605s # %Oh -> actual: jun 1605s # %B -> expected: juillet 1605s # %B -> actual: juillet 1605s # %OB -> expected: août 1605s # %OB -> actual: août 1605s # %b -> expected: sept. 1605s # %b -> actual: sept. 1605s # %Ob -> expected: oct. 1605s # %Ob -> actual: oct. 1605s # %h -> expected: nov. 1605s # %h -> actual: nov. 1605s # %Oh -> expected: déc. 1605s # %Oh -> actual: déc. 1605s # %B -> expected: Ιανουαρίου 1605s # %B -> actual: Ιανουαρίου 1605s # %B -> expected: Φεβρουαρίου 1605s # %B -> actual: Φεβρουαρίου 1605s # %B -> expected: Μαρτίου 1605s # %B -> actual: Μαρτίου 1605s # %OB -> expected: Απρίλιος 1605s # %OB -> actual: Απρίλιος 1605s # %OB -> expected: Μάιος 1605s # %OB -> actual: Μάιος 1605s # %OB -> expected: Ιούνιος 1605s # %OB -> actual: Ιούνιος 1605s # %b -> expected: Ιουλ 1605s # %b -> actual: Ιουλ 1605s # %Ob -> expected: Αύγ 1605s # %Ob -> actual: Αύγ 1605s # %B -> expected: svibnja 1605s # %B -> actual: svibnja 1605s # %B -> expected: lipnja 1605s # %B -> actual: lipnja 1605s # %B -> expected: srpnja 1605s # %B -> actual: srpnja 1605s # %OB -> expected: Kolovoz 1605s # %OB -> actual: kolovoz 1605s # %OB -> expected: Rujan 1605s # %OB -> actual: rujan 1605s # %OB -> expected: Listopad 1605s # %OB -> actual: listopad 1605s # %b -> expected: Stu 1605s # %b -> actual: stu 1605s # %Ob -> expected: Pro 1605s # %Ob -> actual: pro 1605s # %B -> expected: sausio 1605s # %B -> actual: sausio 1605s # %B -> expected: vasario 1605s # %B -> actual: vasario 1605s # %B -> expected: kovo 1605s # %B -> actual: kovo 1605s # %OB -> expected: balandis 1605s # %OB -> actual: balandis 1605s # %OB -> expected: gegužė 1605s # %OB -> actual: gegužė 1605s # %OB -> expected: birželis 1605s # %OB -> actual: birželis 1605s # %b -> expected: liep. 1605s # %b -> actual: liep. 1605s # %Ob -> expected: rugp. 1605s # %Ob -> actual: rugp. 1605s # %B -> expected: maja 1605s # %B -> actual: maja 1605s # %B -> expected: czerwca 1605s # %B -> actual: czerwca 1605s # %B -> expected: lipca 1605s # %B -> actual: lipca 1605s # %OB -> expected: sierpień 1605s # %OB -> actual: sierpień 1605s # %OB -> expected: wrzesień 1605s # %OB -> actual: wrzesień 1605s # %OB -> expected: październik 1605s # %OB -> actual: październik 1605s # %b -> expected: lis 1605s # %b -> actual: lis 1605s # %Ob -> expected: gru 1605s # %Ob -> actual: gru 1605s # %B -> expected: января 1605s # %B -> actual: января 1605s # %B -> expected: февраля 1605s # %B -> actual: февраля 1605s # %B -> expected: марта 1605s # %B -> actual: марта 1605s # %OB -> expected: Апрель 1605s # %OB -> actual: Апрель 1605s # %OB -> expected: Май 1605s # %OB -> actual: Май 1605s # %OB -> expected: Июнь 1605s # %OB -> actual: Июнь 1605s # %b -> expected: июл 1605s # %b -> actual: июл 1605s # %Ob -> expected: авг 1605s # %Ob -> actual: авг 1605s # %b -> expected: мая 1605s # %b -> actual: мая 1605s # %Ob -> expected: май 1605s # %Ob -> actual: май 1605s ok 38 /GDateTime/month_names 1605s ok 39 /GDateTime/to_local 1605s ok 40 /GDateTime/to_unix 1605s ok 41 /GDateTime/to_timeval 1605s ok 42 /GDateTime/to_utc 1605s ok 43 /GDateTime/now_utc 1605s ok 44 /GDateTime/dst 1605s # Bug Reference: http://bugzilla.gnome.org/642935 1605s ok 45 /GDateTime/test_z 1606s ok 46 /GDateTime/test-all-dates 1606s # slow test /GDateTime/test-all-dates executed in 0.88 secs 1606s ok 47 /GDateTime/unix_usec 1606s # Start of new_from_unix tests 1606s # Bug Reference: http://bugzilla.gnome.org/782089 1606s ok 48 /GDateTime/new_from_unix/overflow 1606s # End of new_from_unix tests 1606s # Start of new_from_timeval tests 1606s # Bug Reference: http://bugzilla.gnome.org/782089 1606s # Maximum supported GTimeVal.tv_sec = 253402300799 1606s ok 49 /GDateTime/new_from_timeval/overflow 1606s # End of new_from_timeval tests 1606s # Start of new_from_iso8601 tests 1606s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1606s # Vector 0: 1990-11-01T10:21:17Z 1606s # Vector 1: 19901101T102117Z 1606s # Vector 2: 1970-01-01T00:00:17.12Z 1606s # Vector 3: 1970-01-01T00:00:17.1234Z 1606s # Vector 4: 1970-01-01T00:00:17.123456Z 1606s # Vector 5: 1980-02-22T12:36:00+02:00 1606s # Vector 6: 1990-12-31T15:59:60-08:00 1606s # Vector 7: 1606s # Vector 8: x 1606s # Vector 9: 123x 1606s # Vector 10: 2001-10+x 1606s # Vector 11: 1980-02-22T 1606s # Vector 12: 2001-10-08Tx 1606s # Vector 13: 2001-10-08T10:11x 1606s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1606s # Vector 15: 1980-02-22T10:36:00Zulu 1606s # Vector 16: 2T0+819855292164632335 1606s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1606s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1606s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1606s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1606s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1606s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1606s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1606s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1606s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1606s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1606s # Vector 27: 20180803T140805.446178377+0100 1606s # Vector 28: 21474836480803T140805.446178377+0100 1606s ok - glib/gdatetime.test 1606s # Running test: glib/portal-support-snap.test 1606s # Vector 29: 20181303T140805.446178377+0100 1606s # Vector 30: 20180003T140805.446178377+0100 1606s # Vector 31: 20180800T140805.446178377+0100 1606s # Vector 32: 20180832T140805.446178377+0100 1606s # Vector 33: 20180803T240805.446178377+0100 1606s # Vector 34: 20180803T146005.446178377+0100 1606s # Vector 35: 20180803T140863.446178377+0100 1606s # Vector 36: 20180803T140805.446178377+10000 1606s # Vector 37: -0005-01-01T00:00:00Z 1606s # Vector 38: 2018-08-06 1606s # Vector 39: 20180803T140805,446178377+0100 1606s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1606s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1606s # Vector 42: 1990-11-01T10:21:17 1606s # Vector 43: 1719W462 407777-07 1606s # Vector 44: 4011090 260528Z 1606s # Vector 45: 0000W011 228214-22 1606s ok 50 /GDateTime/new_from_iso8601/2 1606s # End of new_from_iso8601 tests 1606s # Start of format_mixed tests 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1606s # %b -> expected: mar 1606s # %b -> actual: Mar 1606s # %B -> expected: march 1606s # %B -> actual: March 1606s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1606s # %b -> expected: mar 1606s # %b -> actual: Mar 1606s # %B -> expected: march 1606s # %B -> actual: March 1606s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1606s # %b -> expected: Mär 1606s # %b -> actual: Mär 1606s # %B -> expected: März 1606s # %B -> actual: März 1606s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1606s # %b -> expected: Mär 1606s # %b -> actual: Mär 1606s # %B -> expected: März 1606s # %B -> actual: März 1606s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1606s # End of format_mixed tests 1606s # Start of strftime tests 1606s # %r -> expected: (null) 1606s # %r -> actual: (null) 1606s ok 55 /GDateTime/strftime/error_handling 1606s # End of strftime tests 1606s # Start of eras tests 1606s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1606s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1606s # %EC -> expected: 令和 1606s # %EC -> actual: 令和 1606s # %Ex -> expected: 令和05年06月01日 1606s # %Ex -> actual: 令和05年06月01日 1606s # %EX -> expected: 00時00分00秒 1606s # %EX -> actual: 00時00分00秒 1606s # %Ey -> expected: 05 1606s # %Ey -> actual: 05 1606s # %EY -> expected: 令和05年 1606s # %EY -> actual: 令和05年 1606s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1606s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1606s # %EC -> expected: 平成 1606s # %EC -> actual: 平成 1606s # %Ex -> expected: 平成31年04月30日 1606s # %Ex -> actual: 平成31年04月30日 1606s # %EX -> expected: 00時00分00秒 1606s # %EX -> actual: 00時00分00秒 1606s # %Ey -> expected: 31 1606s # %Ey -> actual: 31 1606s # %EY -> expected: 平成31年 1606s # %EY -> actual: 平成31年 1606s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1606s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1606s # %EC -> expected: 昭和 1606s # %EC -> actual: 昭和 1606s # %Ex -> expected: 昭和元年12月25日 1606s # %Ex -> actual: 昭和元年12月25日 1606s # %EX -> expected: 00時00分00秒 1606s # %EX -> actual: 00時00分00秒 1606s # %Ey -> expected: 01 1606s # %Ey -> actual: 01 1606s # %EY -> expected: 昭和元年 1606s # %EY -> actual: 昭和元年 1606s ok 56 /GDateTime/eras/japan 1606s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1606s # Vector 0: 1606s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1606s # 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年 1606s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1606s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1606s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1606s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1606s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1606s # Vector 8: + 1606s # Vector 9: +: 1606s # Vector 10: +:: 1606s # Vector 11: +:200 1606s # Vector 12: +:2nonsense 1606s # Vector 13: +:2nonsense: 1606s # Vector 14: +:2: 1606s # Vector 15: +:2:: 1606s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1606s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1606s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1606s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1606s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1606s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1606s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1606s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1606s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1606s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1606s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1606s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1606s # Vector 28: +:2:2020/01/01 1606s # Vector 29: +:2:2020/01/01: 1606s # Vector 30: +:2:2020/01/01:: 1606s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1606s # Vector 32: +:2:2020/01/01:+* 1606s # Vector 33: +:2:2020/01/01:+*: 1606s # Vector 34: +:2:2020/01/01:+*:: 1606s # Vector 35: +:2:2020/01/01:+*:令和 1606s # Vector 36: +:2:2020/01/01:+*:令和: 1606s # Vector 37: +:2:2020/01/01:+*:令和:; 1606s ok 58 /GDateTime/eras/parsing 1606s # End of eras tests 1606s # End of GDateTime tests 1606s # Start of GTimeZone tests 1606s ok 59 /GTimeZone/find-interval 1606s ok 60 /GTimeZone/adjust-time 1606s ok 61 /GTimeZone/no-header 1606s ok 62 /GTimeZone/no-header-identifier 1606s ok 63 /GTimeZone/posix-parse 1606s # Bug Reference: http://bugzilla.gnome.org/697715 1606s ok 64 /GTimeZone/floating-point 1606s # System time zone identifier: Etc/UTC 1606s ok 65 /GTimeZone/identifier 1606s # Vector 0: -158400 1606s # Vector 1: -10000 1606s # Vector 2: -3600 1606s # Vector 3: -61 1606s # Vector 4: -60 1606s # Vector 5: -59 1606s # Vector 6: 0 1606s # Vector 7: 59 1606s # Vector 8: 60 1606s # Vector 9: 61 1606s # Vector 10: 3600 1606s # Vector 11: 10000 1606s # Vector 12: 158400 1606s ok 66 /GTimeZone/new-offset 1606s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1606s ok 67 /GTimeZone/parse-rfc8536 1606s # /GTimeZone/caching summary: GTimeZone instances are cached 1606s ok 68 /GTimeZone/caching 1606s # End of GTimeZone tests 1606s TAP version 14 1606s # random seed: R02S7fb5685dcf7902f6b38722ed855941d5 1606s 1..7 1606s # Start of portal-support tests 1606s # Start of snap tests 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/no-snapctl: No such file or directory 1606s ok 1 /portal-support/snap/no-snapctl 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/none: No such file or directory 1606s ok 2 /portal-support/snap/none 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/all: No such file or directory 1606s ok 3 /portal-support/snap/all 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/desktop-only: No such file or directory 1606s ok 4 /portal-support/snap/desktop-only 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/network-only: No such file or directory 1606s ok 5 /portal-support/snap/network-only 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/gsettings-only: No such file or directory 1606s ok 6 /portal-support/snap/gsettings-only 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime 1606s # Created snap.yaml in /tmp/test_portal-support-snap_BPXJJ3/meta/snap.yaml 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s # Created snapctl in /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3/portal-support/snap/updates-dynamically: No such file or directory 1606s ok - glib/portal-support-snap.test 1606s ok 7 /portal-support/snap/updates-dynamically 1606s # End of snap tests 1606s # End of portal-support tests 1606s Unable to clean up temporary directory /tmp/test_portal-support-snap_BPXJJ3: No such file or directory 1606s # Running test: glib/cache.test 1606s ok - glib/cache.test 1606s TAP version 14 1606s # random seed: R02S0bdfcb50923210372c4123ab9e6f3f28 1606s 1..1 1606s # Start of cache tests 1606s ok 1 /cache/basic 1606s # End of cache tests 1606s # Running test: glib/socket.test 1606s TAP version 14 1606s # random seed: R02S81e817eda3bd70d8f6b6f4ff3138aaf4 1606s 1..30 1606s # Start of socket tests 1607s ok 1 /socket/ipv4_sync 1607s # slow test /socket/ipv4_sync executed in 1.00 secs 1608s ok 2 /socket/ipv4_async 1608s # slow test /socket/ipv4_async executed in 1.00 secs 1608s ok 3 /socket/ipv6_sync 1608s ok 4 /socket/ipv6_async 1608s ok 5 /socket/ipv6_v4mapped 1608s # Executing: glib/socket.test 1609s ok 6 /socket/close_graceful 1609s # slow test /socket/close_graceful executed in 1.00 secs 1609s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1609s ok 8 /socket/fd_reuse 1609s ok 9 /socket/address 1609s ok 10 /socket/unix-from-fd 1609s ok 11 /socket/unix-connection 1609s ok 12 /socket/unix-connection-ancillary-data 1609s ok 13 /socket/source-postmortem 1609s ok 14 /socket/read_write 1609s ok 15 /socket/read_writev 1609s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1609s ok 16 /socket/receive_bytes 1609s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1609s ok 17 /socket/receive_bytes_from 1609s # Start of ipv4_sync tests 1609s ok 18 /socket/ipv4_sync/datagram 1609s # Start of datagram tests 1610s ok 19 /socket/ipv4_sync/datagram/timeouts 1610s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1610s # End of datagram tests 1610s # End of ipv4_sync tests 1610s # Start of ipv6_sync tests 1610s ok 20 /socket/ipv6_sync/datagram 1610s # Start of datagram tests 1611s ok 21 /socket/ipv6_sync/datagram/timeouts 1611s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1611s # End of datagram tests 1611s # End of ipv6_sync tests 1611s # Start of reuse tests 1611s ok 22 /socket/reuse/tcp 1611s ok 23 /socket/reuse/udp 1611s # End of reuse tests 1611s # Start of get_available tests 1611s ok 24 /socket/get_available/datagram 1611s ok 25 /socket/get_available/stream 1611s # End of get_available tests 1611s # Start of credentials tests 1611s # Supported on this OS: GCredentials:linux-ucred:pid=0 1611s ok 26 /socket/credentials/tcp_client 1611s # Supported on this OS: GCredentials:linux-ucred:pid=0 1611s ok 27 /socket/credentials/tcp_server 1611s # Supported on this OS: GCredentials:linux-ucred:pid=5453,uid=1000,gid=1000 1611s ok 28 /socket/credentials/unix_socketpair 1611s # End of credentials tests 1611s # Start of accept tests 1611s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1611s ok 29 /socket/accept/cancelled 1611s # End of accept tests 1611s # Start of connect tests 1611s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1611s ok 30 /socket/connect/cancelled 1611s # End of connect tests 1611s # End of socket tests 1611s ok - glib/socket.test 1611s # Running test: glib/atomic-c-17.test 1611s TAP version 14 1611s # random seed: R02Sea73795c8fa0f3fc9480bfe1eb5064aa 1611s 1..2 1611s # Start of atomic tests 1611s ok 1 /atomic/types 1611s ok 2 /atomic/threaded 1611s # End of atomic tests 1611s ok - glib/atomic-c-17.test 1611s # Running test: glib/atomic-c-99.test 1611s TAP version 14 1611s # random seed: R02S9dba5a615bfd216133deb5dcb4418155 1611s 1..2 1611s # Start of atomic tests 1611s ok 1 /atomic/types 1611s ok - glib/atomic-c-99.test 1611s ok 2 /atomic/threaded 1611s # End of atomic tests 1611s # Running test: glib/fileattributematcher.test 1611s TAP version 14 1611s # random seed: R02S0bf59509cd1d43ebb2df4ac30ef9417d 1611s 1..3 1611s # Start of fileattributematcher tests 1611s ok 1 /fileattributematcher/exact 1611s ok 2 /fileattributematcher/equality 1611s ok 3 /fileattributematcher/subtract 1611s # End of fileattributematcher tests 1611s ok - glib/fileattributematcher.test 1611s # Running test: glib/object.test 1611s TAP version 14 1611s # random seed: R02Sc55dbd8b21600394774afb9e746e8ec6 1611s 1..2 1611s # Start of object tests 1611s # Start of constructor tests 1611s ok 1 /object/constructor/singleton 1611s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1611s # End of constructor tests 1611s # End of object tests 1611s ok - glib/object.test 1611s # Running test: glib/unicode-normalize.test 1611s TAP version 14 1611s # random seed: R02S6f4ce259823d19abb4f8d083e4fa7a4d 1611s 1..3 1611s # Start of unicode tests 1611s # Processing Part0 # Specific cases 1611s # Processing Part1 # Character by character test 1611s # Processing Part2 # Canonical Order Test 1611s # Processing Part3 # PRI #29 Test 1611s # Processing Part4 # Canonical closures (excluding Hangul) 1611s # Processing Part5 # Chained primary composites 1611s ok 1 /unicode/normalize 1611s # Invalid UTF-8 vector 0 1611s # Invalid UTF-8 vector 1 1611s # Invalid UTF-8 vector 2 1611s # Invalid UTF-8 vector 3 1611s # Invalid UTF-8 vector 4 1611s # Invalid UTF-8 vector 5 1611s # Invalid UTF-8 vector 6 1611s # Invalid UTF-8 vector 7 1611s # Invalid UTF-8 vector 8 1611s # Invalid UTF-8 vector 9 1611s # Invalid UTF-8 vector 10 1611s # Invalid UTF-8 vector 11 1611s # Invalid UTF-8 vector 12 1611s ok 2 /unicode/normalize-invalid 1611s # Start of normalize tests 1611s ok 3 /unicode/normalize/bad-length 1611s # End of normalize tests 1611s # End of unicode tests 1611s ok - glib/unicode-normalize.test 1611s # Running test: glib/simple-async-result.test 1611s TAP version 14 1611s # random seed: R02S35009ad901716f6ca9546fa2b05ade0f 1611s 1..2 1611s # Start of gio tests 1611s # Start of simple-async-result tests 1611s ok 1 /gio/simple-async-result/test 1611s # GLib-GIO-DEBUG: GTask 0xc3faa9581b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1611s ok 2 /gio/simple-async-result/valid 1611s # End of simple-async-result tests 1611s # End of gio tests 1611s ok - glib/simple-async-result.test 1611s # Running test: glib/strfuncs.test 1611s TAP version 14 1611s # random seed: R02S754963da8544f9bbe5b1e1844f08f7ff 1611s 1..51 1611s # Start of strfuncs tests 1611s ok 1 /strfuncs/ascii-strcasecmp 1611s ok 2 /strfuncs/ascii_strdown 1611s ok 3 /strfuncs/ascii_strdup 1611s ok 4 /strfuncs/ascii_strtod 1611s ok 5 /strfuncs/bounds-check 1611s ok 6 /strfuncs/has-prefix 1611s ok 7 /strfuncs/has-prefix-macro 1611s ok 8 /strfuncs/has-suffix 1611s ok 9 /strfuncs/has-suffix-macro 1611s ok 10 /strfuncs/memdup 1611s ok 11 /strfuncs/memdup2 1611s ok 12 /strfuncs/set_str 1611s ok 13 /strfuncs/stpcpy 1611s ok 14 /strfuncs/str_match_string 1611s ok 15 /strfuncs/str_tokenize_and_fold 1611s ok 16 /strfuncs/strcanon 1611s ok 17 /strfuncs/strchomp 1611s ok 18 /strfuncs/strchug 1611s ok 19 /strfuncs/strcompress-strescape 1611s ok 20 /strfuncs/strconcat 1611s ok 21 /strfuncs/strdelimit 1611s ok 22 /strfuncs/strdup 1611s ok 23 /strfuncs/strdup-printf 1611s ok 24 /strfuncs/strdupv 1611s ok 25 /strfuncs/strerror 1611s ok 26 /strfuncs/strip-context 1611s ok 27 /strfuncs/strjoin 1611s ok 28 /strfuncs/strjoinv 1611s ok 29 /strfuncs/strlcat 1611s ok 30 /strfuncs/strlcpy 1611s ok 31 /strfuncs/strncasecmp 1611s ok 32 /strfuncs/strndup 1611s ok 33 /strfuncs/strnfill 1611s ok 34 /strfuncs/strreverse 1611s ok 35 /strfuncs/strsignal 1611s ok 36 /strfuncs/strsplit 1611s ok 37 /strfuncs/strsplit-set 1611s ok 38 /strfuncs/strstr 1611s ok 39 /strfuncs/strtod 1611s ok 40 /strfuncs/strtoull-strtoll 1611s ok 41 /strfuncs/strup 1611s ok 42 /strfuncs/strv-contains 1611s ok 43 /strfuncs/strv-equal 1611s ok 44 /strfuncs/strv-length 1611s ok 45 /strfuncs/test-is-to-digit 1611s ok 46 /strfuncs/transliteration 1611s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1611s ok 47 /strfuncs/str-equal 1611s ok 48 /strfuncs/str-is-ascii 1611s # Start of ascii-string-to-num tests 1611s ok 49 /strfuncs/ascii-string-to-num/pathological 1611s ok 50 /strfuncs/ascii-string-to-num/usual 1611s # End of ascii-string-to-num tests 1611s # Start of strdup tests 1611s ok 51 /strfuncs/strdup/inline 1611s # End of strdup tests 1611s # End of strfuncs tests 1611s ok - glib/strfuncs.test 1611s # Running test: glib/error.test 1611s TAP version 14 1611s # random seed: R02Sa94079557c5e3a6c640ea97f9962ac0c 1611s 1..3 1611s # Start of error tests 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_61W1J3/error/from-errno/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_61W1J3/error/from-errno/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_61W1J3/error/from-errno/.dirs/system-config1:/tmp/test_error_61W1J3/error/from-errno/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_61W1J3/error/from-errno/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_61W1J3/error/from-errno/.dirs/system-data1:/tmp/test_error_61W1J3/error/from-errno/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_61W1J3/error/from-errno/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_61W1J3/error/from-errno/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_61W1J3/error/from-errno/.dirs/runtime 1611s ok 1 /error/from-errno 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_61W1J3/error/from-file-error/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_61W1J3/error/from-file-error/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_61W1J3/error/from-file-error/.dirs/system-config1:/tmp/test_error_61W1J3/error/from-file-error/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_61W1J3/error/from-file-error/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_61W1J3/error/from-file-error/.dirs/system-data1:/tmp/test_error_61W1J3/error/from-file-error/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_61W1J3/error/from-file-error/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_61W1J3/error/from-file-error/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_61W1J3/error/from-file-error/.dirs/runtime 1611s ok 2 /error/from-file-error 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_61W1J3/error/from-win32-error/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_61W1J3/error/from-win32-error/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_61W1J3/error/from-win32-error/.dirs/runtime 1611s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1611s # End of error tests 1611s ok - glib/error.test 1611s # Running test: glib/socket-listener.test 1611s TAP version 14 1611s # random seed: R02S1d8e70c21e1133455dd95b9047b308f1 1611s 1..4 1611s # Start of socket-listener tests 1611s ok 1 /socket-listener/event-signal 1611s # Start of accept tests 1611s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1611s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc51114d294f0 and GSocketClientAsyncConnectData 0xc51114d24980 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc51114d2bb80 and GSocketClientAsyncConnectData 0xc51114d2b9d0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc51114d2c3a0 and GSocketClientAsyncConnectData 0xc51114d2c120 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc51114d2cc20 and GSocketClientAsyncConnectData 0xc51114d2c9a0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc51114d2d440 and GSocketClientAsyncConnectData 0xc51114d2d1c0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc51114d2f980 for GSocketClientAsyncConnectData 0xc51114d24980 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc51114d31af0 for GSocketClientAsyncConnectData 0xc51114d2b9d0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s ok - glib/socket-listener.test 1611s # Running test: glib/value.test 1611s ok - glib/value.test 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc51114d322a0 for GSocketClientAsyncConnectData 0xc51114d2c120 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc51114d32940 for GSocketClientAsyncConnectData 0xc51114d2c9a0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc51114d2f020 for GSocketClientAsyncConnectData 0xc51114d2d1c0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1611s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1611s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1611s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1611s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1611s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1611s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1611s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1611s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1611s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1611s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1611s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1611s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1611s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1611s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1611s ok 2 /socket-listener/accept/multi-simultaneously 1611s # End of accept tests 1611s # Start of add-any-inet-port tests 1611s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1611s # Test 0 1611s # Test 1 1611s # Test 2 1611s # Test 3 1611s # Test 4 1611s # Test 5 1611s # Test 6 1611s # Test 7 1611s # Test 8 1611s # Test 9 1611s # Test 10 1611s ok 3 /socket-listener/add-any-inet-port/listen-failures 1611s # End of add-any-inet-port tests 1611s # Start of add-inet-port tests 1611s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1611s # Test 0 1611s # Test 1 1611s # Test 2 1611s # Test 3 1611s # Test 4 1611s # Test 5 1611s # Test 6 1611s # Test 7 1611s # Test 8 1611s # Test 9 1611s # Test 10 1611s ok 4 /socket-listener/add-inet-port/listen-failures 1611s # End of add-inet-port tests 1611s # End of socket-listener tests 1611s TAP version 14 1611s # random seed: R02Sb98cd076b9aba6b3e96ef861ea26a0dd 1611s 1..9 1611s # Start of value tests 1611s ok 1 /value/basic 1611s ok 2 /value/collection 1611s ok 3 /value/copying 1611s ok 4 /value/enum-transformation 1611s ok 5 /value/gtype 1611s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1611s ok 6 /value/string 1611s # Next: GObject object in GValue of GObject to GValue of GObject 1611s # Next: GObject object in GValue of GObject to GValue of TestInterface 1611s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1611s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1611s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1611s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1611s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1611s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1611s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1611s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1611s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1611s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1611s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1611s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1611s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1611s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1611s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1611s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1611s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1611s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1611s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1611s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1611s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1611s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1611s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1611s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1611s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1611s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1611s ok 7 /value/transform-object 1611s # Start of array tests 1611s ok 8 /value/array/basic 1611s ok 9 /value/array/sort-with-data 1611s # End of array tests 1611s # End of value tests 1611s # Running test: glib/gdbus-names.test 1611s TAP version 14 1611s # random seed: R02S701e3684ded13e93bd68a65595030386 1611s 1..10 1611s # Start of gdbus tests 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/validate-names/.dirs/runtime 1611s ok 1 /gdbus/validate-names 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-own-name/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 2 /gdbus/bus-own-name 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 3 /gdbus/bus-watch-name 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 4 /gdbus/bus-watch-name-auto-start 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s dbus-daemon[5528]: [session uid=1000 pid=5528 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=5519 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1611s # Acquired a message bus connection 1611s dbus-daemon[5528]: [session uid=1000 pid=5528 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1611s # Acquired the name org.gtk.GDBus.FakeService 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 6 /gdbus/bus-watch-name-closures 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 7 /gdbus/bus-watch-name-closures-auto-start 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-watch-different-context/.dirs/runtime 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 8 /gdbus/bus-watch-different-context 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/bus-unwatch-early/.dirs/runtime 1611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 9 /gdbus/bus-unwatch-early 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K0N1J3/gdbus/escape-object-path/.dirs/runtime 1611s ok 10 /gdbus/escape-object-path 1611s # End of gdbus tests 1611s ok - glib/gdbus-names.test 1611s # Running test: glib/option-context.test 1611s TAP version 14 1611s # random seed: R02S9f9f8ce3066e4280c6c5f4f70d34c7be 1611s 1..61 1611s # Start of option tests 1611s ok 1 /option/basic 1611s ok 2 /option/translate 1611s ok 3 /option/strict-posix 1611s # Testing command: program --double abc 1611s # Testing command: program --double 2e309 1611s # Testing command: program --int abc 1611s # Testing command: program --int 99999999999999999999999999999999999 1611s # Testing command: program --int64 abc 1611s # Testing command: program --int64 99999999999999999999999999999999999 1611s ok 4 /option/parsing-errors 1611s # Start of help tests 1611s ok 5 /option/help/options 1611s ok 6 /option/help/no-options 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1611s ok 7 /option/help/no-help-options 1611s # Usage: 1611s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1611s # 1611s # Summary 1611s # 1611s # Help Options: 1611s # -h, --help Show help options 1611s # 1611s # Application Options: 1611s # -t, --test=Argument to use in test (deprecated) Test tests 1611s # --test2 Tests also 1611s # 1611s # Description 1611s # 1611s ok 8 /option/help/deprecated 1611s ok 9 /option/help/main-get_help-format 1611s ok 10 /option/help/group-get_help-format 1611s # End of help tests 1611s # Start of group tests 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1612s ok 11 /option/group/captions 1612s ok 12 /option/group/main 1612s ok 13 /option/group/error-hook 1612s ok 14 /option/group/parse 1612s # Start of captions tests 1612s # Start of subprocess tests 1612s # End of subprocess tests 1612s # End of captions tests 1612s # End of group tests 1612s # Start of restoration tests 1612s ok 15 /option/restoration/int 1612s ok 16 /option/restoration/string 1612s ok 17 /option/restoration/boolean 1612s # End of restoration tests 1612s # Start of arg tests 1612s ok 18 /option/arg/reverse-string 1612s ok 19 /option/arg/optional-int 1612s # Start of repetition tests 1612s ok 20 /option/arg/repetition/int 1612s ok 21 /option/arg/repetition/string 1612s ok 22 /option/arg/repetition/filename 1612s ok 23 /option/arg/repetition/double 1612s ok 24 /option/arg/repetition/locale 1612s ok 25 /option/arg/repetition/int64 1612s # End of repetition tests 1612s # Start of array tests 1612s ok 26 /option/arg/array/string 1612s # End of array tests 1612s # Start of callback tests 1612s ok 27 /option/arg/callback/string 1612s ok 28 /option/arg/callback/count 1612s ok 29 /option/arg/callback/optional1 1612s ok 30 /option/arg/callback/optional2 1612s ok 31 /option/arg/callback/optional3 1612s ok 32 /option/arg/callback/optional4 1612s ok 33 /option/arg/callback/optional5 1612s ok 34 /option/arg/callback/optional6 1612s ok 35 /option/arg/callback/optional7 1612s ok 36 /option/arg/callback/optional8 1612s # End of callback tests 1612s # Start of remaining tests 1612s ok 37 /option/arg/remaining/callback 1612s ok 38 /option/arg/remaining/callback-false 1612s ok 39 /option/arg/remaining/non-option 1612s ok 40 /option/arg/remaining/separator 1612s ok 41 /option/arg/remaining/array 1612s # End of remaining tests 1612s # Start of ignore tests 1612s ok 42 /option/arg/ignore/long 1612s ok 43 /option/arg/ignore/short 1612s ok 44 /option/arg/ignore/arg 1612s # End of ignore tests 1612s # Start of rest tests 1612s ok 45 /option/arg/rest/non-option 1612s ok 46 /option/arg/rest/separator1 1612s ok 47 /option/arg/rest/separator2 1612s ok 48 /option/arg/rest/separator3 1612s ok 49 /option/arg/rest/separator4 1612s ok 50 /option/arg/rest/separator5 1612s # End of rest tests 1612s # End of arg tests 1612s # Start of context tests 1612s ok 51 /option/context/add 1612s ok 52 /option/context/empty2 1612s ok 53 /option/context/empty3 1612s # End of context tests 1612s # Start of bug tests 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1612s ok 54 /option/bug/unknown-short 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1612s ok 55 /option/bug/lonely-dash 1612s ok 56 /option/bug/triple-dash 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1612s ok 57 /option/bug/missing-arg 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1612s ok 58 /option/bug/dash-arg 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1612s ok 59 /option/bug/short-remaining 1612s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1612s ok 60 /option/bug/double-free 1612s ok 61 /option/bug/double-zero 1612s # End of bug tests 1612s # End of option tests 1612s ok - glib/option-context.test 1612s # Running test: glib/refstring.test 1612s TAP version 14 1612s # random seed: R02Sc4ecbed21c31525b0849e4bcbe3ec137 1612s 1..8 1612s # Start of refstring tests 1612s # s = 'hello, world' (0xbd788bc182c0) 1612s ok 1 /refstring/base 1612s ok 2 /refstring/length 1612s ok 3 /refstring/length-auto 1612s ok 4 /refstring/length-nuls 1612s # s = 'hello, world' (0xbd788bc18160) 1612s # p = s = 'hello, world' (0xbd788bc18160) 1612s # releasing p[0xbd788bc18160] ('hello, world') 1612s # p = 'goodbye, world' (0xbd788bc182c0) 1612s # releasing p[0xbd788bc182c0] ('goodbye, world') 1612s # releasing s[0xbd788bc18160] ('hello, world') 1612s ok 5 /refstring/intern 1612s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1612s ok 6 /refstring/hash_equal 1612s # /refstring/equal summary: Test g_ref_string_equal() standalone 1612s ok 7 /refstring/equal 1612s ok 8 /refstring/intern-thread-safety 1612s # slow test /refstring/intern-thread-safety executed in 0.69 secs 1612s # End of refstring tests 1612s ok - glib/refstring.test 1612s # Running test: glib/closure.test 1612s TAP version 14 1612s # random seed: R02S35b7b314874c4cf5e37cf40cfe4dffad 1612s 1..6 1612s # Start of closure tests 1612s ok 1 /closure/idle 1612s ok 2 /closure/timeout 1612s ok 3 /closure/iochannel 1612s ok 4 /closure/child 1612s ok 5 /closure/fd 1612s ok 6 /closure/signal 1612s # End of closure tests 1612s ok - glib/closure.test 1612s # Running test: glib/convert.test 1612s TAP version 14 1612s # random seed: R02Sa1662543c6601309cf93840ddbe697bf 1612s 1..14 1612s # Start of conversion tests 1612s ok 1 /conversion/no-conv 1612s ok 2 /conversion/iconv-state 1612s ok 3 /conversion/illegal-sequence 1612s ok 4 /conversion/byte-order 1612s ok 5 /conversion/unicode 1612s ok 6 /conversion/filename-utf8 1612s ok 7 /conversion/filename-display 1612s ok 8 /conversion/convert-embedded-nul 1612s # Start of locale-to-utf8 tests 1612s ok 9 /conversion/locale-to-utf8/embedded-nul 1612s # Start of embedded-nul tests 1612s # Start of subprocess tests 1612s # End of subprocess tests 1612s # End of embedded-nul tests 1612s # End of locale-to-utf8 tests 1612s # Start of locale-from-utf8 tests 1612s ok 10 /conversion/locale-from-utf8/embedded-nul 1612s # Start of embedded-nul tests 1612s # Start of subprocess tests 1612s # End of subprocess tests 1612s # End of embedded-nul tests 1612s # End of locale-from-utf8 tests 1612s # Start of filename-to-utf8 tests 1612s ok 11 /conversion/filename-to-utf8/embedded-nul 1612s # Start of embedded-nul tests 1612s # Start of subprocess tests 1612s # End of subprocess tests 1612s # End of embedded-nul tests 1612s # End of filename-to-utf8 tests 1612s # Start of filename-from-utf8 tests 1612s ok 12 /conversion/filename-from-utf8/embedded-nul 1612s # Start of embedded-nul tests 1612s # Start of subprocess tests 1612s # End of subprocess tests 1612s # End of embedded-nul tests 1612s # End of filename-from-utf8 tests 1612s # Start of filename-from-uri tests 1612s ok 13 /conversion/filename-from-uri/query-is-ignored 1612s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1612s # End of filename-from-uri tests 1612s # End of conversion tests 1612s ok - glib/convert.test 1612s # Running test: glib/defaultiface.test 1612s ok - glib/defaultiface.test 1612s # Running test: glib/protocol.test 1612s TAP version 14 1612s # random seed: R02Sa961d615695dfc130a3fec371441feed 1612s 1..2 1612s # Start of gobject tests 1612s ok 1 /gobject/static-iface 1612s ok 2 /gobject/dynamic-iface 1612s # End of gobject tests 1612s TAP version 14 1612s # random seed: R02Sa00d49d7463179c40c7f913c7b86b2a5 1612s 1..9 1612s # Start of glib tests 1612s # Start of testing tests 1612s # Start of protocol tests 1612s ok 1 /glib/testing/protocol/debug 1612s ok 2 /glib/testing/protocol/info 1612s ok 3 /glib/testing/protocol/message 1612s ok 4 /glib/testing/protocol/warning 1612s ok 5 /glib/testing/protocol/critical 1612s ok 6 /glib/testing/protocol/error 1612s ok 7 /glib/testing/protocol/gtest-message 1612s ok 8 /glib/testing/protocol/test-message 1612s ok 9 /glib/testing/protocol/test-error 1612s # End of protocol tests 1612s # End of testing tests 1612s # End of glib tests 1612s ok - glib/protocol.test 1612s # Running test: glib/mapping.test 1612s TAP version 14 1612s # random seed: R02Sf501521da2f2116addee1bd03492f43a 1612s 1..3 1612s # Start of mapping tests 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_AWJSJ3/mapping/flags/.dirs/runtime 1612s # test_mapping: ok 1612s ok 1 /mapping/flags 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/system-config1:/tmp/test_mapping_AWJSJ3/mapping/private/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/system-data1:/tmp/test_mapping_AWJSJ3/mapping/private/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_AWJSJ3/mapping/private/.dirs/runtime 1612s ok 2 /mapping/private 1612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/home 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/cache 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/system-config2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/config 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/system-data2 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/data 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/state 1612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_AWJSJ3/mapping/private-child/.dirs/runtime 1612s # test_child_private: child spawned 1612s # Subtest: /usr/libexec/installed-tests/glib/mapping 1612s # random seed: R02Sb1b011499b2d329548ed9eed1033b583 1612s # test_child_private: received first child signal 1612s # test_child_private: received parent signal 1612s # Child exited with status 0 1612s # test_child_private: received second child signal 1612s ok 3 /mapping/private-child 1612s # End of mapping tests 1612s ok - glib/mapping.test 1612s # Running test: glib/codegen.py.test 1612s TAP version 13 1612s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1612s # gdbus-codegen: /usr/bin/gdbus-codegen 1612s # tmpdir: /tmp/tmp8j2564mp 1612s # /tmp/tmp8j2564mp/tmpp7ng5c8x.xml: 1612s # 1612s # 1612s # 1612s # 1612s # 1612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8j2564mp/tmpp7ng5c8x.xml', '--output', '-', '--header'] 1612s # Return code: 0 1612s # Output: 1612s # /* 1612s # * This file is generated by gdbus-codegen, do not modify it. 1612s # * 1612s # * The license of this code is the same as for the D-Bus interface description 1612s # * it was derived from. Note that it links to GLib, so must comply with the 1612s # * LGPL linking clauses. 1612s # */ 1612s # 1612s # #ifndef __STDOUT__ 1612s # #define __STDOUT__ 1612s # 1612s # #include 1612s # 1612s # G_BEGIN_DECLS 1612s # 1612s # 1612s # /* ------------------------------------------------------------------------ */ 1612s # /* Declarations for org.project.UsefulInterface */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1612s # 1612s # struct _OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1612s # 1612s # struct _OrgProjectUsefulInterfaceIface 1612s # { 1612s # GTypeInterface parent_iface; 1612s # 1612s # gboolean (*handle_useful_method) ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # }; 1612s # 1612s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1612s # 1612s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1612s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1612s # 1612s # 1612s # /* D-Bus method call completion functions: */ 1612s # void org_project_useful_interface_complete_useful_method ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # 1612s # 1612s # /* D-Bus method calls: */ 1612s # void org_project_useful_interface_call_useful_method ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_finish ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_sync ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxy 1612s # { 1612s # /*< private >*/ 1612s # GDBusProxy parent_instance; 1612s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxyClass 1612s # { 1612s # GDBusProxyClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1612s # #endif 1612s # 1612s # void org_project_useful_interface_proxy_new ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # void org_project_useful_interface_proxy_new_for_bus ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeleton 1612s # { 1612s # /*< private >*/ 1612s # GDBusInterfaceSkeleton parent_instance; 1612s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeletonClass 1612s # { 1612s # GDBusInterfaceSkeletonClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1612s # #endif 1612s # 1612s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1612s # 1612s # 1612s # G_END_DECLS 1612s # 1612s # #endif /* __STDOUT__ */ 1612s # Error: 1612s # 1612s # /tmp/tmp8j2564mp/tmp9oxxraaw.xml: 1612s # 1612s # 1612s # 1612s # 1612s # 1612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8j2564mp/tmp9oxxraaw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1612s # Return code: 0 1612s # Output: 1612s # /* 1612s # * This file is generated by gdbus-codegen, do not modify it. 1612s # * 1612s # * The license of this code is the same as for the D-Bus interface description 1612s # * it was derived from. Note that it links to GLib, so must comply with the 1612s # * LGPL linking clauses. 1612s # */ 1612s # 1612s # #ifndef __STDOUT__ 1612s # #define __STDOUT__ 1612s # 1612s # #include 1612s # 1612s # G_BEGIN_DECLS 1612s # 1612s # 1612s # /* ------------------------------------------------------------------------ */ 1612s # /* Declarations for org.project.UsefulInterface */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1612s # 1612s # struct _OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1612s # 1612s # struct _OrgProjectUsefulInterfaceIface 1612s # { 1612s # GTypeInterface parent_iface; 1612s # 1612s # gboolean (*handle_useful_method) ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # }; 1612s # 1612s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1612s # 1612s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1612s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1612s # 1612s # 1612s # /* D-Bus method call completion functions: */ 1612s # void org_project_useful_interface_complete_useful_method ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # 1612s # 1612s # /* D-Bus method calls: */ 1612s # void org_project_useful_interface_call_useful_method ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_finish ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_sync ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxy 1612s # { 1612s # /*< private >*/ 1612s # GDBusProxy parent_instance; 1612s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxyClass 1612s # { 1612s # GDBusProxyClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1612s # #endif 1612s # 1612s # void org_project_useful_interface_proxy_new ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # void org_project_useful_interface_proxy_new_for_bus ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeleton 1612s # { 1612s # /*< private >*/ 1612s # GDBusInterfaceSkeleton parent_instance; 1612s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeletonClass 1612s # { 1612s # GDBusInterfaceSkeletonClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1612s # #endif 1612s # 1612s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1612s # 1612s # 1612s # G_END_DECLS 1612s # 1612s # #endif /* __STDOUT__ */ 1612s # Error: 1612s # 1612s # /tmp/tmp8j2564mp/tmp_ixv9o8g.xml: 1612s # 1612s # 1612s # 1612s # 1612s # 1612s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8j2564mp/tmp_ixv9o8g.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1612s # Return code: 0 1612s # Output: 1612s # /* 1612s # * This file is generated by gdbus-codegen, do not modify it. 1612s # * 1612s # * The license of this code is the same as for the D-Bus interface description 1612s # * it was derived from. Note that it links to GLib, so must comply with the 1612s # * LGPL linking clauses. 1612s # */ 1612s # 1612s # #ifndef __STDOUT__ 1612s # #define __STDOUT__ 1612s # 1612s # #include 1612s # 1612s # G_BEGIN_DECLS 1612s # 1612s # 1612s # /* ------------------------------------------------------------------------ */ 1612s # /* Declarations for org.project.UsefulInterface */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1612s # 1612s # struct _OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1612s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1612s # 1612s # struct _OrgProjectUsefulInterfaceIface 1612s # { 1612s # GTypeInterface parent_iface; 1612s # 1612s # gboolean (*handle_useful_method) ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # }; 1612s # 1612s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1612s # 1612s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1612s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1612s # 1612s # 1612s # /* D-Bus method call completion functions: */ 1612s # void org_project_useful_interface_complete_useful_method ( 1612s # OrgProjectUsefulInterface *object, 1612s # GDBusMethodInvocation *invocation); 1612s # 1612s # 1612s # 1612s # /* D-Bus method calls: */ 1612s # void org_project_useful_interface_call_useful_method ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GDBusCallFlags call_flags, 1612s # gint timeout_msec, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_finish ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # 1612s # gboolean org_project_useful_interface_call_useful_method_sync ( 1612s # OrgProjectUsefulInterface *proxy, 1612s # GDBusCallFlags call_flags, 1612s # gint timeout_msec, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1612s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxy 1612s # { 1612s # /*< private >*/ 1612s # GDBusProxy parent_instance; 1612s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceProxyClass 1612s # { 1612s # GDBusProxyClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1612s # #endif 1612s # 1612s # void org_project_useful_interface_proxy_new ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1612s # GDBusConnection *connection, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # void org_project_useful_interface_proxy_new_for_bus ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GAsyncReadyCallback callback, 1612s # gpointer user_data); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1612s # GAsyncResult *res, 1612s # GError **error); 1612s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1612s # GBusType bus_type, 1612s # GDBusProxyFlags flags, 1612s # const gchar *name, 1612s # const gchar *object_path, 1612s # GCancellable *cancellable, 1612s # GError **error); 1612s # 1612s # 1612s # /* ---- */ 1612s # 1612s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1612s # 1612s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1612s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeleton 1612s # { 1612s # /*< private >*/ 1612s # GDBusInterfaceSkeleton parent_instance; 1612s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1612s # }; 1612s # 1612s # struct _OrgProjectUsefulInterfaceSkeletonClass 1612s # { 1612s # GDBusInterfaceSkeletonClass parent_class; 1612s # }; 1612s # 1612s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1612s # 1612s # #if GLIB_CHECK_VERSION(2, 44, 0) 1612s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1612s # #endif 1612s # 1612s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1612s # 1612s # 1612s # G_END_DECLS 1612s # 1612s # #endif /* __STDOUT__ */ 1612s # Error: 1613s ok 2 __main__.TestCodegen.test_dbus_types 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmpfq1mmuja 1613s # /tmp/tmpfq1mmuja/tmp8wjlu572.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmp8wjlu572.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1613s # /tmp/tmpfq1mmuja/tmpc839xpk8.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpc839xpk8.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1613s # /tmp/tmpfq1mmuja/tmpuhx1mg61.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpuhx1mg61.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1613s # /tmp/tmpfq1mmuja/tmpu0w965n9.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpu0w965n9.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1613s # /tmp/tmpfq1mmuja/tmpw0fxsmp7.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpw0fxsmp7.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1613s # /tmp/tmpfq1mmuja/tmp8gq87zac.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmp8gq87zac.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1613s # /tmp/tmpfq1mmuja/tmplxajhkpt.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmplxajhkpt.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1613s # /tmp/tmpfq1mmuja/tmpqlwvynl1.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpqlwvynl1.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1613s # /tmp/tmpfq1mmuja/tmptv46k1z7.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmptv46k1z7.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1613s # /tmp/tmpfq1mmuja/tmpjyaxmy0c.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpjyaxmy0c.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: D-Bus maximum signature length of 255 exceeded. 1613s # /tmp/tmpfq1mmuja/tmpgogb2b0q.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpgogb2b0q.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: D-Bus maximum signature length of 255 exceeded. 1613s # /tmp/tmpfq1mmuja/tmpilt0ct80.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpilt0ct80.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1613s # /tmp/tmpfq1mmuja/tmp30bog0ad.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmp30bog0ad.xml', '--output', '-', '--body'] 1613s # Return code: 1 1613s # Output: 1613s # 1613s # Error: 1613s # ERROR: D-Bus maximum signature length of 255 exceeded. 1613s # /tmp/tmpfq1mmuja/tmpyehjfdqh.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpyehjfdqh.xml', '--output', '-', '--body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # #ifdef G_OS_UNIX 1613s # # include 1613s # #endif 1613s # 1613s # #ifdef G_ENABLE_DEBUG 1613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1613s # #else /* !G_ENABLE_DEBUG */ 1613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1613s # * Do not access GValues directly in your code. Instead, use the 1613s # * g_value_get_*() functions 1613s # */ 1613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1613s # #endif /* !G_ENABLE_DEBUG */ 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusArgInfo parent_struct; 1613s # gboolean use_gvariant; 1613s # } _ExtendedGDBusArgInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusMethodInfo parent_struct; 1613s # const gchar *signal_name; 1613s # gboolean pass_fdlist; 1613s # } _ExtendedGDBusMethodInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusSignalInfo parent_struct; 1613s # const gchar *signal_name; 1613s # } _ExtendedGDBusSignalInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusPropertyInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # guint use_gvariant : 1; 1613s # guint emits_changed_signal : 1; 1613s # } _ExtendedGDBusPropertyInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusInterfaceInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # } _ExtendedGDBusInterfaceInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # guint prop_id; 1613s # GValue orig_value; /* the value before the change */ 1613s # } ChangedProperty; 1613s # 1613s # static void 1613s # _changed_property_free (ChangedProperty *data) 1613s # { 1613s # g_value_unset (&data->orig_value); 1613s # g_free (data); 1613s # } 1613s # 1613s # static gboolean 1613s # _g_strv_equal0 (gchar **a, gchar **b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # guint n; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # if (g_strv_length (a) != g_strv_length (b)) 1613s # goto out; 1613s # for (n = 0; a[n] != NULL; n++) 1613s # if (g_strcmp0 (a[n], b[n]) != 0) 1613s # goto out; 1613s # ret = TRUE; 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _g_variant_equal0 (GVariant *a, GVariant *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # ret = g_variant_equal (a, b); 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # G_GNUC_UNUSED static gboolean 1613s # _g_value_equal (const GValue *a, const GValue *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1613s # switch (G_VALUE_TYPE (a)) 1613s # { 1613s # case G_TYPE_BOOLEAN: 1613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1613s # break; 1613s # case G_TYPE_UCHAR: 1613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1613s # break; 1613s # case G_TYPE_INT: 1613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1613s # break; 1613s # case G_TYPE_UINT: 1613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1613s # break; 1613s # case G_TYPE_INT64: 1613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1613s # break; 1613s # case G_TYPE_UINT64: 1613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1613s # break; 1613s # case G_TYPE_DOUBLE: 1613s # { 1613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1613s # gdouble da = g_value_get_double (a); 1613s # gdouble db = g_value_get_double (b); 1613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1613s # } 1613s # break; 1613s # case G_TYPE_STRING: 1613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1613s # break; 1613s # case G_TYPE_VARIANT: 1613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1613s # break; 1613s # default: 1613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1613s # else 1613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1613s # break; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ 1613s # * Code for interface GoodTypes 1613s # * ------------------------------------------------------------------------ 1613s # */ 1613s # 1613s # /** 1613s # * SECTION:GoodTypes 1613s # * @title: GoodTypes 1613s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1613s # * 1613s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1613s # */ 1613s # 1613s # /* ---- Introspection data for GoodTypes ---- */ 1613s # 1613s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodPropertyType", 1613s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1613s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1613s # NULL 1613s # }, 1613s # "good-property-type", 1613s # FALSE, 1613s # TRUE 1613s # }; 1613s # 1613s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1613s # { 1613s # &_good_types_property_info_good_property_type.parent_struct, 1613s # NULL 1613s # }; 1613s # 1613s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodTypes", 1613s # NULL, 1613s # NULL, 1613s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1613s # NULL 1613s # }, 1613s # "good-types", 1613s # }; 1613s # 1613s # 1613s # /** 1613s # * good_types_interface_info: 1613s # * 1613s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1613s # * 1613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1613s # */ 1613s # GDBusInterfaceInfo * 1613s # good_types_interface_info (void) 1613s # { 1613s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1613s # } 1613s # 1613s # /** 1613s # * good_types_override_properties: 1613s # * @klass: The class structure for a #GObject derived class. 1613s # * @property_id_begin: The property id to assign to the first overridden property. 1613s # * 1613s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1613s # * The properties are overridden in the order they are defined. 1613s # * 1613s # * Returns: The last property id. 1613s # */ 1613s # guint 1613s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1613s # { 1613s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1613s # return property_id_begin - 1; 1613s # } 1613s # 1613s # 1613s # 1613s # /** 1613s # * GoodTypes: 1613s # * 1613s # * Abstract interface type for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesIface: 1613s # * @parent_iface: The parent interface. 1613s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1613s # * 1613s # * Virtual table for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # typedef GoodTypesIface GoodTypesInterface; 1613s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1613s # 1613s # static void 1613s # good_types_default_init (GoodTypesIface *iface) 1613s # { 1613s # /* GObject properties for D-Bus properties: */ 1613s # /** 1613s # * GoodTypes:good-property-type: 1613s # * 1613s # * Represents the D-Bus property "GoodPropertyType". 1613s # * 1613s # * 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. 1613s # */ 1613s # g_object_interface_install_property (iface, 1613s # 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)); 1613s # } 1613s # 1613s # /** 1613s # * good_types_get_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets the value of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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. 1613s # * 1613s # * 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. 1613s # */ 1613s # GVariant * 1613s # good_types_get_good_property_type (GoodTypes *object) 1613s # { 1613s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1613s # 1613s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1613s # } 1613s # 1613s # /** 1613s # * good_types_dup_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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(). 1613s # */ 1613s # GVariant * 1613s # good_types_dup_good_property_type (GoodTypes *object) 1613s # { 1613s # GVariant *value; 1613s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1613s # return value; 1613s # } 1613s # 1613s # /** 1613s # * good_types_set_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * @value: The value to set. 1613s # * 1613s # * Sets the "GoodPropertyType" D-Bus property to @value. 1613s # * 1613s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1613s # */ 1613s # void 1613s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1613s # { 1613s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesProxy: 1613s # * 1613s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesProxyClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesProxy. 1613s # */ 1613s # 1613s # struct _GoodTypesProxyPrivate 1613s # { 1613s # GData *qdata; 1613s # }; 1613s # 1613s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_ADD_PRIVATE (GoodTypesProxy) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_proxy_finalize (GObject *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # g_datalist_clear (&proxy->priv->qdata); 1613s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1613s # if (info->use_gvariant) 1613s # { 1613s # g_value_set_variant (value, variant); 1613s # } 1613s # else 1613s # { 1613s # if (variant != NULL) 1613s # g_dbus_gvariant_to_gvalue (variant, value); 1613s # } 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1613s # GAsyncResult *res, 1613s # gpointer user_data) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info = user_data; 1613s # GError *error; 1613s # GVariant *_ret; 1613s # error = NULL; 1613s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1613s # if (!_ret) 1613s # { 1613s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1613s # info->parent_struct.name, 1613s # error->message, g_quark_to_string (error->domain), error->code); 1613s # g_error_free (error); 1613s # } 1613s # else 1613s # { 1613s # g_variant_unref (_ret); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1613s # "org.freedesktop.DBus.Properties.Set", 1613s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_signal (GDBusProxy *proxy, 1613s # const gchar *sender_name G_GNUC_UNUSED, 1613s # const gchar *signal_name, 1613s # GVariant *parameters) 1613s # { 1613s # _ExtendedGDBusSignalInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # gsize n; 1613s # guint signal_id; 1613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1613s # if (info == NULL) 1613s # return; 1613s # num_params = g_variant_n_children (parameters); 1613s # paramv = g_new0 (GValue, num_params + 1); 1613s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[0], proxy); 1613s # g_variant_iter_init (&iter, parameters); 1613s # n = 1; 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_signal_emitv (paramv, signal_id, 0, NULL); 1613s # for (n = 0; n < num_params + 1; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1613s # GVariant *changed_properties, 1613s # const gchar *const *invalidated_properties) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1613s # guint n; 1613s # const gchar *key; 1613s # GVariantIter *iter; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # g_variant_get (changed_properties, "a{sv}", &iter); 1613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1613s # g_datalist_remove_data (&proxy->priv->qdata, key); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # g_variant_iter_free (iter); 1613s # for (n = 0; invalidated_properties[n] != NULL; n++) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_proxy_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # GVariant *variant; 1613s # GVariant *value = NULL; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1613s # value = variant; 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_init (GoodTypesProxy *proxy) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1613s # #else 1613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1613s # #endif 1613s # 1613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusProxyClass *proxy_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_proxy_finalize; 1613s # gobject_class->get_property = good_types_proxy_get_property; 1613s # gobject_class->set_property = good_types_proxy_set_property; 1613s # 1613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1613s # proxy_class->g_signal = good_types_proxy_g_signal; 1613s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_sync: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_sync ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new_for_bus ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_sync: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_sync ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesSkeleton: 1613s # * 1613s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesSkeletonClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesSkeleton. 1613s # */ 1613s # 1613s # struct _GoodTypesSkeletonPrivate 1613s # { 1613s # GValue *properties; 1613s # GList *changed_properties; 1613s # GSource *changed_properties_idle_source; 1613s # GMainContext *context; 1613s # GMutex lock; 1613s # }; 1613s # 1613s # static void 1613s # _good_types_skeleton_handle_method_call ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name, 1613s # const gchar *method_name, 1613s # GVariant *parameters, 1613s # GDBusMethodInvocation *invocation, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # _ExtendedGDBusMethodInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # guint num_extra; 1613s # gsize n; 1613s # guint signal_id; 1613s # GValue return_value = G_VALUE_INIT; 1613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1613s # g_assert (info != NULL); 1613s # num_params = g_variant_n_children (parameters); 1613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1613s # n = 0; 1613s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[n++], skeleton); 1613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1613s # g_value_set_object (¶mv[n++], invocation); 1613s # if (info->pass_fdlist) 1613s # { 1613s # #ifdef G_OS_UNIX 1613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1613s # #else 1613s # g_assert_not_reached (); 1613s # #endif 1613s # } 1613s # g_variant_iter_init (&iter, parameters); 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1613s # if (!g_value_get_boolean (&return_value)) 1613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1613s # g_value_unset (&return_value); 1613s # for (n = 0; n < num_params + num_extra; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static GVariant * 1613s # _good_types_skeleton_handle_get_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *ret; 1613s # ret = NULL; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # g_value_init (&value, pspec->value_type); 1613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_value_unset (&value); 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_skeleton_handle_set_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GVariant *variant, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # gboolean ret; 1613s # ret = FALSE; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # if (info->use_gvariant) 1613s # g_value_set_variant (&value, variant); 1613s # else 1613s # g_dbus_gvariant_to_gvalue (variant, &value); 1613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # g_value_unset (&value); 1613s # ret = TRUE; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1613s # { 1613s # _good_types_skeleton_handle_method_call, 1613s # _good_types_skeleton_handle_get_property, 1613s # _good_types_skeleton_handle_set_property, 1613s # {NULL} 1613s # }; 1613s # 1613s # static GDBusInterfaceInfo * 1613s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return good_types_interface_info (); 1613s # } 1613s # 1613s # static GDBusInterfaceVTable * 1613s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # 1613s # GVariantBuilder builder; 1613s # guint n; 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #else 1613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #endif 1613s # if (_good_types_interface_info.parent_struct.properties == NULL) 1613s # goto out; 1613s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1613s # { 1613s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1613s # { 1613s # GVariant *value; 1613s # 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); 1613s # if (value != NULL) 1613s # { 1613s # g_variant_take_ref (value); 1613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1613s # g_variant_unref (value); 1613s # } 1613s # } 1613s # } 1613s # out: 1613s # return g_variant_builder_end (&builder); 1613s # } 1613s # 1613s # static gboolean _good_types_emit_changed (gpointer user_data); 1613s # 1613s # static void 1613s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # gboolean emit_changed = FALSE; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # { 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # emit_changed = TRUE; 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # 1613s # if (emit_changed) 1613s # _good_types_emit_changed (skeleton); 1613s # } 1613s # 1613s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_ADD_PRIVATE (GoodTypesSkeleton) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_skeleton_finalize (GObject *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # guint n; 1613s # for (n = 0; n < 1; n++) 1613s # g_value_unset (&skeleton->priv->properties[n]); 1613s # g_free (skeleton->priv->properties); 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # g_main_context_unref (skeleton->priv->context); 1613s # g_mutex_clear (&skeleton->priv->lock); 1613s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_emit_changed (gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GList *l; 1613s # GVariantBuilder builder; 1613s # GVariantBuilder invalidated_builder; 1613s # guint num_changes; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #else 1613s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #endif 1613s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *cp = l->data; 1613s # GVariant *variant; 1613s # const GValue *cur_value; 1613s # 1613s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1613s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1613s # { 1613s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1613s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1613s # g_variant_unref (variant); 1613s # num_changes++; 1613s # } 1613s # } 1613s # if (num_changes > 0) 1613s # { 1613s # GList *connections, *ll; 1613s # GVariant *signal_variant; 1613s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1613s # &builder, &invalidated_builder)); 1613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1613s # for (ll = connections; ll != NULL; ll = ll->next) 1613s # { 1613s # GDBusConnection *connection = ll->data; 1613s # 1613s # g_dbus_connection_emit_signal (connection, 1613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1613s # "org.freedesktop.DBus.Properties", 1613s # "PropertiesChanged", 1613s # signal_variant, 1613s # NULL); 1613s # } 1613s # g_variant_unref (signal_variant); 1613s # g_list_free_full (connections, g_object_unref); 1613s # } 1613s # else 1613s # { 1613s # g_variant_builder_clear (&builder); 1613s # g_variant_builder_clear (&invalidated_builder); 1613s # } 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # skeleton->priv->changed_properties = NULL; 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return FALSE; 1613s # } 1613s # 1613s # static void 1613s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1613s # { 1613s # ChangedProperty *cp; 1613s # GList *l; 1613s # cp = NULL; 1613s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *i_cp = l->data; 1613s # if (i_cp->info == info) 1613s # { 1613s # cp = i_cp; 1613s # break; 1613s # } 1613s # } 1613s # if (cp == NULL) 1613s # { 1613s # cp = g_new0 (ChangedProperty, 1); 1613s # cp->prop_id = prop_id; 1613s # cp->info = info; 1613s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1613s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1613s # g_value_copy (orig_value, &cp->orig_value); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_notify (GObject *object, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties != NULL && 1613s # skeleton->priv->changed_properties_idle_source == NULL) 1613s # { 1613s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1613s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1613s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1613s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1613s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1613s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_object_freeze_notify (object); 1613s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1613s # { 1613s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1613s # info->emits_changed_signal) 1613s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1613s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1613s # g_object_notify_by_pspec (object, pspec); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # g_object_thaw_notify (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1613s # #else 1613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1613s # #endif 1613s # 1613s # g_mutex_init (&skeleton->priv->lock); 1613s # skeleton->priv->context = g_main_context_ref_thread_default (); 1613s # skeleton->priv->properties = g_new0 (GValue, 1); 1613s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # GVariant *value; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusInterfaceSkeletonClass *skeleton_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_skeleton_finalize; 1613s # gobject_class->get_property = good_types_skeleton_get_property; 1613s # gobject_class->set_property = good_types_skeleton_set_property; 1613s # gobject_class->notify = good_types_skeleton_notify; 1613s # 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1613s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1613s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1613s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1613s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_skeleton_new: 1613s # * 1613s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1613s # */ 1613s # GoodTypes * 1613s # good_types_skeleton_new (void) 1613s # { 1613s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1613s # } 1613s # Error: 1613s # 1613s # /tmp/tmpfq1mmuja/tmpfe497fkm.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpfe497fkm.xml', '--output', '-', '--body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # #ifdef G_OS_UNIX 1613s # # include 1613s # #endif 1613s # 1613s # #ifdef G_ENABLE_DEBUG 1613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1613s # #else /* !G_ENABLE_DEBUG */ 1613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1613s # * Do not access GValues directly in your code. Instead, use the 1613s # * g_value_get_*() functions 1613s # */ 1613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1613s # #endif /* !G_ENABLE_DEBUG */ 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusArgInfo parent_struct; 1613s # gboolean use_gvariant; 1613s # } _ExtendedGDBusArgInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusMethodInfo parent_struct; 1613s # const gchar *signal_name; 1613s # gboolean pass_fdlist; 1613s # } _ExtendedGDBusMethodInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusSignalInfo parent_struct; 1613s # const gchar *signal_name; 1613s # } _ExtendedGDBusSignalInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusPropertyInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # guint use_gvariant : 1; 1613s # guint emits_changed_signal : 1; 1613s # } _ExtendedGDBusPropertyInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusInterfaceInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # } _ExtendedGDBusInterfaceInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # guint prop_id; 1613s # GValue orig_value; /* the value before the change */ 1613s # } ChangedProperty; 1613s # 1613s # static void 1613s # _changed_property_free (ChangedProperty *data) 1613s # { 1613s # g_value_unset (&data->orig_value); 1613s # g_free (data); 1613s # } 1613s # 1613s # static gboolean 1613s # _g_strv_equal0 (gchar **a, gchar **b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # guint n; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # if (g_strv_length (a) != g_strv_length (b)) 1613s # goto out; 1613s # for (n = 0; a[n] != NULL; n++) 1613s # if (g_strcmp0 (a[n], b[n]) != 0) 1613s # goto out; 1613s # ret = TRUE; 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _g_variant_equal0 (GVariant *a, GVariant *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # ret = g_variant_equal (a, b); 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # G_GNUC_UNUSED static gboolean 1613s # _g_value_equal (const GValue *a, const GValue *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1613s # switch (G_VALUE_TYPE (a)) 1613s # { 1613s # case G_TYPE_BOOLEAN: 1613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1613s # break; 1613s # case G_TYPE_UCHAR: 1613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1613s # break; 1613s # case G_TYPE_INT: 1613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1613s # break; 1613s # case G_TYPE_UINT: 1613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1613s # break; 1613s # case G_TYPE_INT64: 1613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1613s # break; 1613s # case G_TYPE_UINT64: 1613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1613s # break; 1613s # case G_TYPE_DOUBLE: 1613s # { 1613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1613s # gdouble da = g_value_get_double (a); 1613s # gdouble db = g_value_get_double (b); 1613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1613s # } 1613s # break; 1613s # case G_TYPE_STRING: 1613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1613s # break; 1613s # case G_TYPE_VARIANT: 1613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1613s # break; 1613s # default: 1613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1613s # else 1613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1613s # break; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ 1613s # * Code for interface GoodTypes 1613s # * ------------------------------------------------------------------------ 1613s # */ 1613s # 1613s # /** 1613s # * SECTION:GoodTypes 1613s # * @title: GoodTypes 1613s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1613s # * 1613s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1613s # */ 1613s # 1613s # /* ---- Introspection data for GoodTypes ---- */ 1613s # 1613s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodPropertyType", 1613s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1613s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1613s # NULL 1613s # }, 1613s # "good-property-type", 1613s # FALSE, 1613s # TRUE 1613s # }; 1613s # 1613s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1613s # { 1613s # &_good_types_property_info_good_property_type.parent_struct, 1613s # NULL 1613s # }; 1613s # 1613s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodTypes", 1613s # NULL, 1613s # NULL, 1613s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1613s # NULL 1613s # }, 1613s # "good-types", 1613s # }; 1613s # 1613s # 1613s # /** 1613s # * good_types_interface_info: 1613s # * 1613s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1613s # * 1613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1613s # */ 1613s # GDBusInterfaceInfo * 1613s # good_types_interface_info (void) 1613s # { 1613s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1613s # } 1613s # 1613s # /** 1613s # * good_types_override_properties: 1613s # * @klass: The class structure for a #GObject derived class. 1613s # * @property_id_begin: The property id to assign to the first overridden property. 1613s # * 1613s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1613s # * The properties are overridden in the order they are defined. 1613s # * 1613s # * Returns: The last property id. 1613s # */ 1613s # guint 1613s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1613s # { 1613s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1613s # return property_id_begin - 1; 1613s # } 1613s # 1613s # 1613s # 1613s # /** 1613s # * GoodTypes: 1613s # * 1613s # * Abstract interface type for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesIface: 1613s # * @parent_iface: The parent interface. 1613s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1613s # * 1613s # * Virtual table for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # typedef GoodTypesIface GoodTypesInterface; 1613s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1613s # 1613s # static void 1613s # good_types_default_init (GoodTypesIface *iface) 1613s # { 1613s # /* GObject properties for D-Bus properties: */ 1613s # /** 1613s # * GoodTypes:good-property-type: 1613s # * 1613s # * Represents the D-Bus property "GoodPropertyType". 1613s # * 1613s # * 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. 1613s # */ 1613s # g_object_interface_install_property (iface, 1613s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1613s # } 1613s # 1613s # /** 1613s # * good_types_get_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets the value of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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. 1613s # * 1613s # * 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. 1613s # */ 1613s # GVariant * 1613s # good_types_get_good_property_type (GoodTypes *object) 1613s # { 1613s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1613s # 1613s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1613s # } 1613s # 1613s # /** 1613s # * good_types_dup_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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(). 1613s # */ 1613s # GVariant * 1613s # good_types_dup_good_property_type (GoodTypes *object) 1613s # { 1613s # GVariant *value; 1613s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1613s # return value; 1613s # } 1613s # 1613s # /** 1613s # * good_types_set_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * @value: The value to set. 1613s # * 1613s # * Sets the "GoodPropertyType" D-Bus property to @value. 1613s # * 1613s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1613s # */ 1613s # void 1613s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1613s # { 1613s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesProxy: 1613s # * 1613s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesProxyClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesProxy. 1613s # */ 1613s # 1613s # struct _GoodTypesProxyPrivate 1613s # { 1613s # GData *qdata; 1613s # }; 1613s # 1613s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_ADD_PRIVATE (GoodTypesProxy) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_proxy_finalize (GObject *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # g_datalist_clear (&proxy->priv->qdata); 1613s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1613s # if (info->use_gvariant) 1613s # { 1613s # g_value_set_variant (value, variant); 1613s # } 1613s # else 1613s # { 1613s # if (variant != NULL) 1613s # g_dbus_gvariant_to_gvalue (variant, value); 1613s # } 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1613s # GAsyncResult *res, 1613s # gpointer user_data) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info = user_data; 1613s # GError *error; 1613s # GVariant *_ret; 1613s # error = NULL; 1613s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1613s # if (!_ret) 1613s # { 1613s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1613s # info->parent_struct.name, 1613s # error->message, g_quark_to_string (error->domain), error->code); 1613s # g_error_free (error); 1613s # } 1613s # else 1613s # { 1613s # g_variant_unref (_ret); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1613s # "org.freedesktop.DBus.Properties.Set", 1613s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_signal (GDBusProxy *proxy, 1613s # const gchar *sender_name G_GNUC_UNUSED, 1613s # const gchar *signal_name, 1613s # GVariant *parameters) 1613s # { 1613s # _ExtendedGDBusSignalInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # gsize n; 1613s # guint signal_id; 1613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1613s # if (info == NULL) 1613s # return; 1613s # num_params = g_variant_n_children (parameters); 1613s # paramv = g_new0 (GValue, num_params + 1); 1613s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[0], proxy); 1613s # g_variant_iter_init (&iter, parameters); 1613s # n = 1; 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_signal_emitv (paramv, signal_id, 0, NULL); 1613s # for (n = 0; n < num_params + 1; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1613s # GVariant *changed_properties, 1613s # const gchar *const *invalidated_properties) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1613s # guint n; 1613s # const gchar *key; 1613s # GVariantIter *iter; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # g_variant_get (changed_properties, "a{sv}", &iter); 1613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1613s # g_datalist_remove_data (&proxy->priv->qdata, key); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # g_variant_iter_free (iter); 1613s # for (n = 0; invalidated_properties[n] != NULL; n++) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_proxy_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # GVariant *variant; 1613s # GVariant *value = NULL; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1613s # value = variant; 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_init (GoodTypesProxy *proxy) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1613s # #else 1613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1613s # #endif 1613s # 1613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusProxyClass *proxy_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_proxy_finalize; 1613s # gobject_class->get_property = good_types_proxy_get_property; 1613s # gobject_class->set_property = good_types_proxy_set_property; 1613s # 1613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1613s # proxy_class->g_signal = good_types_proxy_g_signal; 1613s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_sync: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_sync ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new_for_bus ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_sync: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_sync ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesSkeleton: 1613s # * 1613s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesSkeletonClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesSkeleton. 1613s # */ 1613s # 1613s # struct _GoodTypesSkeletonPrivate 1613s # { 1613s # GValue *properties; 1613s # GList *changed_properties; 1613s # GSource *changed_properties_idle_source; 1613s # GMainContext *context; 1613s # GMutex lock; 1613s # }; 1613s # 1613s # static void 1613s # _good_types_skeleton_handle_method_call ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name, 1613s # const gchar *method_name, 1613s # GVariant *parameters, 1613s # GDBusMethodInvocation *invocation, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # _ExtendedGDBusMethodInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # guint num_extra; 1613s # gsize n; 1613s # guint signal_id; 1613s # GValue return_value = G_VALUE_INIT; 1613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1613s # g_assert (info != NULL); 1613s # num_params = g_variant_n_children (parameters); 1613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1613s # n = 0; 1613s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[n++], skeleton); 1613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1613s # g_value_set_object (¶mv[n++], invocation); 1613s # if (info->pass_fdlist) 1613s # { 1613s # #ifdef G_OS_UNIX 1613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1613s # #else 1613s # g_assert_not_reached (); 1613s # #endif 1613s # } 1613s # g_variant_iter_init (&iter, parameters); 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1613s # if (!g_value_get_boolean (&return_value)) 1613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1613s # g_value_unset (&return_value); 1613s # for (n = 0; n < num_params + num_extra; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static GVariant * 1613s # _good_types_skeleton_handle_get_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *ret; 1613s # ret = NULL; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # g_value_init (&value, pspec->value_type); 1613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_value_unset (&value); 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_skeleton_handle_set_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GVariant *variant, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # gboolean ret; 1613s # ret = FALSE; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # if (info->use_gvariant) 1613s # g_value_set_variant (&value, variant); 1613s # else 1613s # g_dbus_gvariant_to_gvalue (variant, &value); 1613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # g_value_unset (&value); 1613s # ret = TRUE; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1613s # { 1613s # _good_types_skeleton_handle_method_call, 1613s # _good_types_skeleton_handle_get_property, 1613s # _good_types_skeleton_handle_set_property, 1613s # {NULL} 1613s # }; 1613s # 1613s # static GDBusInterfaceInfo * 1613s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return good_types_interface_info (); 1613s # } 1613s # 1613s # static GDBusInterfaceVTable * 1613s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # 1613s # GVariantBuilder builder; 1613s # guint n; 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #else 1613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #endif 1613s # if (_good_types_interface_info.parent_struct.properties == NULL) 1613s # goto out; 1613s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1613s # { 1613s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1613s # { 1613s # GVariant *value; 1613s # 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); 1613s # if (value != NULL) 1613s # { 1613s # g_variant_take_ref (value); 1613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1613s # g_variant_unref (value); 1613s # } 1613s # } 1613s # } 1613s # out: 1613s # return g_variant_builder_end (&builder); 1613s # } 1613s # 1613s # static gboolean _good_types_emit_changed (gpointer user_data); 1613s # 1613s # static void 1613s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # gboolean emit_changed = FALSE; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # { 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # emit_changed = TRUE; 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # 1613s # if (emit_changed) 1613s # _good_types_emit_changed (skeleton); 1613s # } 1613s # 1613s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_ADD_PRIVATE (GoodTypesSkeleton) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_skeleton_finalize (GObject *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # guint n; 1613s # for (n = 0; n < 1; n++) 1613s # g_value_unset (&skeleton->priv->properties[n]); 1613s # g_free (skeleton->priv->properties); 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # g_main_context_unref (skeleton->priv->context); 1613s # g_mutex_clear (&skeleton->priv->lock); 1613s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_emit_changed (gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GList *l; 1613s # GVariantBuilder builder; 1613s # GVariantBuilder invalidated_builder; 1613s # guint num_changes; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #else 1613s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #endif 1613s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *cp = l->data; 1613s # GVariant *variant; 1613s # const GValue *cur_value; 1613s # 1613s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1613s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1613s # { 1613s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1613s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1613s # g_variant_unref (variant); 1613s # num_changes++; 1613s # } 1613s # } 1613s # if (num_changes > 0) 1613s # { 1613s # GList *connections, *ll; 1613s # GVariant *signal_variant; 1613s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1613s # &builder, &invalidated_builder)); 1613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1613s # for (ll = connections; ll != NULL; ll = ll->next) 1613s # { 1613s # GDBusConnection *connection = ll->data; 1613s # 1613s # g_dbus_connection_emit_signal (connection, 1613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1613s # "org.freedesktop.DBus.Properties", 1613s # "PropertiesChanged", 1613s # signal_variant, 1613s # NULL); 1613s # } 1613s # g_variant_unref (signal_variant); 1613s # g_list_free_full (connections, g_object_unref); 1613s # } 1613s # else 1613s # { 1613s # g_variant_builder_clear (&builder); 1613s # g_variant_builder_clear (&invalidated_builder); 1613s # } 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # skeleton->priv->changed_properties = NULL; 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return FALSE; 1613s # } 1613s # 1613s # static void 1613s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1613s # { 1613s # ChangedProperty *cp; 1613s # GList *l; 1613s # cp = NULL; 1613s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *i_cp = l->data; 1613s # if (i_cp->info == info) 1613s # { 1613s # cp = i_cp; 1613s # break; 1613s # } 1613s # } 1613s # if (cp == NULL) 1613s # { 1613s # cp = g_new0 (ChangedProperty, 1); 1613s # cp->prop_id = prop_id; 1613s # cp->info = info; 1613s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1613s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1613s # g_value_copy (orig_value, &cp->orig_value); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_notify (GObject *object, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties != NULL && 1613s # skeleton->priv->changed_properties_idle_source == NULL) 1613s # { 1613s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1613s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1613s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1613s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1613s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1613s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_object_freeze_notify (object); 1613s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1613s # { 1613s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1613s # info->emits_changed_signal) 1613s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1613s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1613s # g_object_notify_by_pspec (object, pspec); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # g_object_thaw_notify (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1613s # #else 1613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1613s # #endif 1613s # 1613s # g_mutex_init (&skeleton->priv->lock); 1613s # skeleton->priv->context = g_main_context_ref_thread_default (); 1613s # skeleton->priv->properties = g_new0 (GValue, 1); 1613s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # GVariant *value; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusInterfaceSkeletonClass *skeleton_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_skeleton_finalize; 1613s # gobject_class->get_property = good_types_skeleton_get_property; 1613s # gobject_class->set_property = good_types_skeleton_set_property; 1613s # gobject_class->notify = good_types_skeleton_notify; 1613s # 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1613s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1613s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1613s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1613s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_skeleton_new: 1613s # * 1613s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1613s # */ 1613s # GoodTypes * 1613s # good_types_skeleton_new (void) 1613s # { 1613s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1613s # } 1613s # Error: 1613s # 1613s # /tmp/tmpfq1mmuja/tmpyg92xbtc.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfq1mmuja/tmpyg92xbtc.xml', '--output', '-', '--body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # #ifdef G_OS_UNIX 1613s # # include 1613s # #endif 1613s # 1613s # #ifdef G_ENABLE_DEBUG 1613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1613s # #else /* !G_ENABLE_DEBUG */ 1613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1613s # * Do not access GValues directly in your code. Instead, use the 1613s # * g_value_get_*() functions 1613s # */ 1613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1613s # #endif /* !G_ENABLE_DEBUG */ 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusArgInfo parent_struct; 1613s # gboolean use_gvariant; 1613s # } _ExtendedGDBusArgInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusMethodInfo parent_struct; 1613s # const gchar *signal_name; 1613s # gboolean pass_fdlist; 1613s # } _ExtendedGDBusMethodInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusSignalInfo parent_struct; 1613s # const gchar *signal_name; 1613s # } _ExtendedGDBusSignalInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusPropertyInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # guint use_gvariant : 1; 1613s # guint emits_changed_signal : 1; 1613s # } _ExtendedGDBusPropertyInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusInterfaceInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # } _ExtendedGDBusInterfaceInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # guint prop_id; 1613s # GValue orig_value; /* the value before the change */ 1613s # } ChangedProperty; 1613s # 1613s # static void 1613s # _changed_property_free (ChangedProperty *data) 1613s # { 1613s # g_value_unset (&data->orig_value); 1613s # g_free (data); 1613s # } 1613s # 1613s # static gboolean 1613s # _g_strv_equal0 (gchar **a, gchar **b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # guint n; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # if (g_strv_length (a) != g_strv_length (b)) 1613s # goto out; 1613s # for (n = 0; a[n] != NULL; n++) 1613s # if (g_strcmp0 (a[n], b[n]) != 0) 1613s # goto out; 1613s # ret = TRUE; 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _g_variant_equal0 (GVariant *a, GVariant *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # ret = g_variant_equal (a, b); 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # G_GNUC_UNUSED static gboolean 1613s # _g_value_equal (const GValue *a, const GValue *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1613s # switch (G_VALUE_TYPE (a)) 1613s # { 1613s # case G_TYPE_BOOLEAN: 1613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1613s # break; 1613s # case G_TYPE_UCHAR: 1613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1613s # break; 1613s # case G_TYPE_INT: 1613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1613s # break; 1613s # case G_TYPE_UINT: 1613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1613s # break; 1613s # case G_TYPE_INT64: 1613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1613s # break; 1613s # case G_TYPE_UINT64: 1613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1613s # break; 1613s # case G_TYPE_DOUBLE: 1613s # { 1613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1613s # gdouble da = g_value_get_double (a); 1613s # gdouble db = g_value_get_double (b); 1613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1613s # } 1613s # break; 1613s # case G_TYPE_STRING: 1613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1613s # break; 1613s # case G_TYPE_VARIANT: 1613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1613s # break; 1613s # default: 1613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1613s # else 1613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1613s # break; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ 1613s # * Code for interface GoodTypes 1613s # * ------------------------------------------------------------------------ 1613s # */ 1613s # 1613s # /** 1613s # * SECTION:GoodTypes 1613s # * @title: GoodTypes 1613s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1613s # * 1613s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1613s # */ 1613s # 1613s # /* ---- Introspection data for GoodTypes ---- */ 1613s # 1613s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodPropertyType", 1613s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1613s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1613s # NULL 1613s # }, 1613s # "good-property-type", 1613s # FALSE, 1613s # TRUE 1613s # }; 1613s # 1613s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1613s # { 1613s # &_good_types_property_info_good_property_type.parent_struct, 1613s # NULL 1613s # }; 1613s # 1613s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "GoodTypes", 1613s # NULL, 1613s # NULL, 1613s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1613s # NULL 1613s # }, 1613s # "good-types", 1613s # }; 1613s # 1613s # 1613s # /** 1613s # * good_types_interface_info: 1613s # * 1613s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1613s # * 1613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1613s # */ 1613s # GDBusInterfaceInfo * 1613s # good_types_interface_info (void) 1613s # { 1613s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1613s # } 1613s # 1613s # /** 1613s # * good_types_override_properties: 1613s # * @klass: The class structure for a #GObject derived class. 1613s # * @property_id_begin: The property id to assign to the first overridden property. 1613s # * 1613s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1613s # * The properties are overridden in the order they are defined. 1613s # * 1613s # * Returns: The last property id. 1613s # */ 1613s # guint 1613s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1613s # { 1613s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1613s # return property_id_begin - 1; 1613s # } 1613s # 1613s # 1613s # 1613s # /** 1613s # * GoodTypes: 1613s # * 1613s # * Abstract interface type for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesIface: 1613s # * @parent_iface: The parent interface. 1613s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1613s # * 1613s # * Virtual table for the D-Bus interface GoodTypes. 1613s # */ 1613s # 1613s # typedef GoodTypesIface GoodTypesInterface; 1613s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1613s # 1613s # static void 1613s # good_types_default_init (GoodTypesIface *iface) 1613s # { 1613s # /* GObject properties for D-Bus properties: */ 1613s # /** 1613s # * GoodTypes:good-property-type: 1613s # * 1613s # * Represents the D-Bus property "GoodPropertyType". 1613s # * 1613s # * 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. 1613s # */ 1613s # g_object_interface_install_property (iface, 1613s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1613s # } 1613s # 1613s # /** 1613s # * good_types_get_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets the value of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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. 1613s # * 1613s # * 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. 1613s # */ 1613s # GVariant * 1613s # good_types_get_good_property_type (GoodTypes *object) 1613s # { 1613s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1613s # 1613s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1613s # } 1613s # 1613s # /** 1613s # * good_types_dup_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * 1613s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1613s # * 1613s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1613s # * 1613s # * 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(). 1613s # */ 1613s # GVariant * 1613s # good_types_dup_good_property_type (GoodTypes *object) 1613s # { 1613s # GVariant *value; 1613s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1613s # return value; 1613s # } 1613s # 1613s # /** 1613s # * good_types_set_good_property_type: (skip) 1613s # * @object: A GoodTypes. 1613s # * @value: The value to set. 1613s # * 1613s # * Sets the "GoodPropertyType" D-Bus property to @value. 1613s # * 1613s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1613s # */ 1613s # void 1613s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1613s # { 1613s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesProxy: 1613s # * 1613s # * The GoodTypesProxy structure contains only private data and should only be acces# Executing: glib/codegen.py.test 1613s sed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesProxyClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesProxy. 1613s # */ 1613s # 1613s # struct _GoodTypesProxyPrivate 1613s # { 1613s # GData *qdata; 1613s # }; 1613s # 1613s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_ADD_PRIVATE (GoodTypesProxy) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_proxy_finalize (GObject *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # g_datalist_clear (&proxy->priv->qdata); 1613s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1613s # if (info->use_gvariant) 1613s # { 1613s # g_value_set_variant (value, variant); 1613s # } 1613s # else 1613s # { 1613s # if (variant != NULL) 1613s # g_dbus_gvariant_to_gvalue (variant, value); 1613s # } 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1613s # GAsyncResult *res, 1613s # gpointer user_data) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info = user_data; 1613s # GError *error; 1613s # GVariant *_ret; 1613s # error = NULL; 1613s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1613s # if (!_ret) 1613s # { 1613s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1613s # info->parent_struct.name, 1613s # error->message, g_quark_to_string (error->domain), error->code); 1613s # g_error_free (error); 1613s # } 1613s # else 1613s # { 1613s # g_variant_unref (_ret); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *variant; 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1613s # "org.freedesktop.DBus.Properties.Set", 1613s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1613s # g_variant_unref (variant); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_signal (GDBusProxy *proxy, 1613s # const gchar *sender_name G_GNUC_UNUSED, 1613s # const gchar *signal_name, 1613s # GVariant *parameters) 1613s # { 1613s # _ExtendedGDBusSignalInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # gsize n; 1613s # guint signal_id; 1613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1613s # if (info == NULL) 1613s # return; 1613s # num_params = g_variant_n_children (parameters); 1613s # paramv = g_new0 (GValue, num_params + 1); 1613s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[0], proxy); 1613s # g_variant_iter_init (&iter, parameters); 1613s # n = 1; 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_signal_emitv (paramv, signal_id, 0, NULL); 1613s # for (n = 0; n < num_params + 1; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1613s # GVariant *changed_properties, 1613s # const gchar *const *invalidated_properties) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1613s # guint n; 1613s # const gchar *key; 1613s # GVariantIter *iter; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # g_variant_get (changed_properties, "a{sv}", &iter); 1613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1613s # g_datalist_remove_data (&proxy->priv->qdata, key); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # g_variant_iter_free (iter); 1613s # for (n = 0; invalidated_properties[n] != NULL; n++) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_proxy_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1613s # GVariant *variant; 1613s # GVariant *value = NULL; 1613s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1613s # value = variant; 1613s # if (variant != NULL) 1613s # g_variant_unref (variant); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_init (GoodTypesProxy *proxy) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1613s # #else 1613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1613s # #endif 1613s # 1613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusProxyClass *proxy_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_proxy_finalize; 1613s # gobject_class->get_property = good_types_proxy_get_property; 1613s # gobject_class->set_property = good_types_proxy_set_property; 1613s # 1613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1613s # proxy_class->g_signal = good_types_proxy_g_signal; 1613s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_proxy_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_sync: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_sync ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1613s # * 1613s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # good_types_proxy_new_for_bus ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * good_types_proxy_new_for_bus_sync: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # GoodTypes * 1613s # good_types_proxy_new_for_bus_sync ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return GOOD_TYPES (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * GoodTypesSkeleton: 1613s # * 1613s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * GoodTypesSkeletonClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for GoodTypesSkeleton. 1613s # */ 1613s # 1613s # struct _GoodTypesSkeletonPrivate 1613s # { 1613s # GValue *properties; 1613s # GList *changed_properties; 1613s # GSource *changed_properties_idle_source; 1613s # GMainContext *context; 1613s # GMutex lock; 1613s # }; 1613s # 1613s # static void 1613s # _good_types_skeleton_handle_method_call ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name, 1613s # const gchar *method_name, 1613s # GVariant *parameters, 1613s # GDBusMethodInvocation *invocation, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # _ExtendedGDBusMethodInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # guint num_extra; 1613s # gsize n; 1613s # guint signal_id; 1613s # GValue return_value = G_VALUE_INIT; 1613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1613s # g_assert (info != NULL); 1613s # num_params = g_variant_n_children (parameters); 1613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1613s # n = 0; 1613s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1613s # g_value_set_object (¶mv[n++], skeleton); 1613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1613s # g_value_set_object (¶mv[n++], invocation); 1613s # if (info->pass_fdlist) 1613s # { 1613s # #ifdef G_OS_UNIX 1613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1613s # #else 1613s # g_assert_not_reached (); 1613s # #endif 1613s # } 1613s # g_variant_iter_init (&iter, parameters); 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1613s # if (!g_value_get_boolean (&return_value)) 1613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1613s # g_value_unset (&return_value); 1613s # for (n = 0; n < num_params + num_extra; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static GVariant * 1613s # _good_types_skeleton_handle_get_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *ret; 1613s # ret = NULL; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # g_value_init (&value, pspec->value_type); 1613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_value_unset (&value); 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_skeleton_handle_set_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GVariant *variant, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # gboolean ret; 1613s # ret = FALSE; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # if (info->use_gvariant) 1613s # g_value_set_variant (&value, variant); 1613s # else 1613s # g_dbus_gvariant_to_gvalue (variant, &value); 1613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # g_value_unset (&value); 1613s # ret = TRUE; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1613s # { 1613s # _good_types_skeleton_handle_method_call, 1613s # _good_types_skeleton_handle_get_property, 1613s # _good_types_skeleton_handle_set_property, 1613s # {NULL} 1613s # }; 1613s # 1613s # static GDBusInterfaceInfo * 1613s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return good_types_interface_info (); 1613s # } 1613s # 1613s # static GDBusInterfaceVTable * 1613s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # 1613s # GVariantBuilder builder; 1613s # guint n; 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #else 1613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #endif 1613s # if (_good_types_interface_info.parent_struct.properties == NULL) 1613s # goto out; 1613s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1613s # { 1613s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1613s # { 1613s # GVariant *value; 1613s # 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); 1613s # if (value != NULL) 1613s # { 1613s # g_variant_take_ref (value); 1613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1613s # g_variant_unref (value); 1613s # } 1613s # } 1613s # } 1613s # out: 1613s # return g_variant_builder_end (&builder); 1613s # } 1613s # 1613s # static gboolean _good_types_emit_changed (gpointer user_data); 1613s # 1613s # static void 1613s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1613s # gboolean emit_changed = FALSE; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # { 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # emit_changed = TRUE; 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # 1613s # if (emit_changed) 1613s # _good_types_emit_changed (skeleton); 1613s # } 1613s # 1613s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_ADD_PRIVATE (GoodTypesSkeleton) 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # good_types_skeleton_finalize (GObject *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # guint n; 1613s # for (n = 0; n < 1; n++) 1613s # g_value_unset (&skeleton->priv->properties[n]); 1613s # g_free (skeleton->priv->properties); 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # g_main_context_unref (skeleton->priv->context); 1613s # g_mutex_clear (&skeleton->priv->lock); 1613s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_get_property (GObject *object, 1613s # guint prop_id, 1613s # GValue *value, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static gboolean 1613s # _good_types_emit_changed (gpointer user_data) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1613s # GList *l; 1613s # GVariantBuilder builder; 1613s # GVariantBuilder invalidated_builder; 1613s # guint num_changes; 1613s # 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #else 1613s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1613s # #endif 1613s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *cp = l->data; 1613s # GVariant *variant; 1613s # const GValue *cur_value; 1613s # 1613s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1613s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1613s # { 1613s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1613s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1613s # g_variant_unref (variant); 1613s # num_changes++; 1613s # } 1613s # } 1613s # if (num_changes > 0) 1613s # { 1613s # GList *connections, *ll; 1613s # GVariant *signal_variant; 1613s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1613s # &builder, &invalidated_builder)); 1613s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1613s # for (ll = connections; ll != NULL; ll = ll->next) 1613s # { 1613s # GDBusConnection *connection = ll->data; 1613s # 1613s # g_dbus_connection_emit_signal (connection, 1613s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1613s # "org.freedesktop.DBus.Properties", 1613s # "PropertiesChanged", 1613s # signal_variant, 1613s # NULL); 1613s # } 1613s # g_variant_unref (signal_variant); 1613s # g_list_free_full (connections, g_object_unref); 1613s # } 1613s # else 1613s # { 1613s # g_variant_builder_clear (&builder); 1613s # g_variant_builder_clear (&invalidated_builder); 1613s # } 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # skeleton->priv->changed_properties = NULL; 1613s # skeleton->priv->changed_properties_idle_source = NULL; 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return FALSE; 1613s # } 1613s # 1613s # static void 1613s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1613s # { 1613s # ChangedProperty *cp; 1613s # GList *l; 1613s # cp = NULL; 1613s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1613s # { 1613s # ChangedProperty *i_cp = l->data; 1613s # if (i_cp->info == info) 1613s # { 1613s # cp = i_cp; 1613s # break; 1613s # } 1613s # } 1613s # if (cp == NULL) 1613s # { 1613s # cp = g_new0 (ChangedProperty, 1); 1613s # cp->prop_id = prop_id; 1613s # cp->info = info; 1613s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1613s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1613s # g_value_copy (orig_value, &cp->orig_value); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_notify (GObject *object, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # if (skeleton->priv->changed_properties != NULL && 1613s # skeleton->priv->changed_properties_idle_source == NULL) 1613s # { 1613s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1613s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1613s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1613s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1613s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1613s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_set_property (GObject *object, 1613s # guint prop_id, 1613s # const GValue *value, 1613s # GParamSpec *pspec) 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1613s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # g_object_freeze_notify (object); 1613s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1613s # { 1613s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1613s # info->emits_changed_signal) 1613s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1613s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1613s # g_object_notify_by_pspec (object, pspec); 1613s # } 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # g_object_thaw_notify (object); 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1613s # #else 1613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1613s # #endif 1613s # 1613s # g_mutex_init (&skeleton->priv->lock); 1613s # skeleton->priv->context = g_main_context_ref_thread_default (); 1613s # skeleton->priv->properties = g_new0 (GValue, 1); 1613s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1613s # } 1613s # 1613s # static GVariant * 1613s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1613s # { 1613s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1613s # GVariant *value; 1613s # g_mutex_lock (&skeleton->priv->lock); 1613s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1613s # g_mutex_unlock (&skeleton->priv->lock); 1613s # return value; 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusInterfaceSkeletonClass *skeleton_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = good_types_skeleton_finalize; 1613s # gobject_class->get_property = good_types_skeleton_get_property; 1613s # gobject_class->set_property = good_types_skeleton_set_property; 1613s # gobject_class->notify = good_types_skeleton_notify; 1613s # 1613s # 1613s # good_types_override_properties (gobject_class, 1); 1613s # 1613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1613s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1613s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1613s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1613s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1613s # { 1613s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1613s # } 1613s # 1613s # /** 1613s # * good_types_skeleton_new: 1613s # * 1613s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1613s # * 1613s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1613s # */ 1613s # GoodTypes * 1613s # good_types_skeleton_new (void) 1613s # { 1613s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1613s # } 1613s # Error: 1613s ok 3 __main__.TestCodegen.test_empty_interface_body 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmp82gg1x5z 1613s # /tmp/tmp82gg1x5z/tmpkio33xmg.xml: 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp82gg1x5z/tmpkio33xmg.xml', '--output', '-', '--body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # #ifdef G_OS_UNIX 1613s # # include 1613s # #endif 1613s # 1613s # #ifdef G_ENABLE_DEBUG 1613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1613s # #else /* !G_ENABLE_DEBUG */ 1613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1613s # * Do not access GValues directly in your code. Instead, use the 1613s # * g_value_get_*() functions 1613s # */ 1613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1613s # #endif /* !G_ENABLE_DEBUG */ 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusArgInfo parent_struct; 1613s # gboolean use_gvariant; 1613s # } _ExtendedGDBusArgInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusMethodInfo parent_struct; 1613s # const gchar *signal_name; 1613s # gboolean pass_fdlist; 1613s # } _ExtendedGDBusMethodInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusSignalInfo parent_struct; 1613s # const gchar *signal_name; 1613s # } _ExtendedGDBusSignalInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusPropertyInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # guint use_gvariant : 1; 1613s # guint emits_changed_signal : 1; 1613s # } _ExtendedGDBusPropertyInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusInterfaceInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # } _ExtendedGDBusInterfaceInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # guint prop_id; 1613s # GValue orig_value; /* the value before the change */ 1613s # } ChangedProperty; 1613s # 1613s # static void 1613s # _changed_property_free (ChangedProperty *data) 1613s # { 1613s # g_value_unset (&data->orig_value); 1613s # g_free (data); 1613s # } 1613s # 1613s # static gboolean 1613s # _g_strv_equal0 (gchar **a, gchar **b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # guint n; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # if (g_strv_length (a) != g_strv_length (b)) 1613s # goto out; 1613s # for (n = 0; a[n] != NULL; n++) 1613s # if (g_strcmp0 (a[n], b[n]) != 0) 1613s # goto out; 1613s # ret = TRUE; 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _g_variant_equal0 (GVariant *a, GVariant *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # ret = g_variant_equal (a, b); 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # G_GNUC_UNUSED static gboolean 1613s # _g_value_equal (const GValue *a, const GValue *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1613s # switch (G_VALUE_TYPE (a)) 1613s # { 1613s # case G_TYPE_BOOLEAN: 1613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1613s # break; 1613s # case G_TYPE_UCHAR: 1613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1613s # break; 1613s # case G_TYPE_INT: 1613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1613s # break; 1613s # case G_TYPE_UINT: 1613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1613s # break; 1613s # case G_TYPE_INT64: 1613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1613s # break; 1613s # case G_TYPE_UINT64: 1613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1613s # break; 1613s # case G_TYPE_DOUBLE: 1613s # { 1613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1613s # gdouble da = g_value_get_double (a); 1613s # gdouble db = g_value_get_double (b); 1613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1613s # } 1613s # break; 1613s # case G_TYPE_STRING: 1613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1613s # break; 1613s # case G_TYPE_VARIANT: 1613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1613s # break; 1613s # default: 1613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1613s # else 1613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1613s # break; 1613s # } 1613s # return ret; 1613s # } 1613s # Error: 1613s ok 4 __main__.TestCodegen.test_empty_interface_header 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmp58pz1szx 1613s # /tmp/tmp58pz1szx/tmpt3wxgh02.xml: 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58pz1szx/tmpt3wxgh02.xml', '--output', '-', '--header'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifndef __STDOUT__ 1613s # #define __STDOUT__ 1613s # 1613s # #include 1613s # 1613s # G_BEGIN_DECLS 1613s # 1613s # 1613s # G_END_DECLS 1613s # 1613s # #endif /* __STDOUT__ */ 1613s # Error: 1613s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmp81mj9omc 1613s # /tmp/tmp81mj9omc/tmpixw0ohiu.xml: 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp81mj9omc/tmpixw0ohiu.xml', '--output', '-', '--interface-info-body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # Error: 1613s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmpqkqoqzah 1613s # /tmp/tmpqkqoqzah/tmp82t5r8md.xml: 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqkqoqzah/tmp82t5r8md.xml', '--output', '-', '--interface-info-header'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifndef __STDOUT__ 1613s # #define __STDOUT__ 1613s # 1613s # #include 1613s # 1613s # G_BEGIN_DECLS 1613s # 1613s # 1613s # G_END_DECLS 1613s # 1613s # #endif /* __STDOUT__ */ 1613s # Error: 1613s ok 7 __main__.TestCodegen.test_generate_docbook 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmpfcy0561c 1613s # /tmp/tmpfcy0561c/tmpgnnkdjqe.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfcy0561c/tmpgnnkdjqe.xml', '--generate-docbook', 'test'] 1613s # Return code: 0 1613s # Output: 1613s # 1613s # Error: 1613s ok 8 __main__.TestCodegen.test_generate_md 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmpnagvrcds 1613s # /tmp/tmpnagvrcds/tmp8wcrrrz7.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnagvrcds/tmp8wcrrrz7.xml', '--generate-md', 'test'] 1613s # Return code: 0 1613s # Output: 1613s # 1613s # Error: 1613s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1613s # gdbus-codegen: /usr/bin/gdbus-codegen 1613s # tmpdir: /tmp/tmp2eyvfrh6 1613s # /tmp/tmp2eyvfrh6/tmpotvrkvg7.xml: 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # 1613s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2eyvfrh6/tmpotvrkvg7.xml', '--output', '-', '--body'] 1613s # Return code: 0 1613s # Output: 1613s # /* 1613s # * This file is generated by gdbus-codegen, do not modify it. 1613s # * 1613s # * The license of this code is the same as for the D-Bus interface description 1613s # * it was derived from. Note that it links to GLib, so must comply with the 1613s # * LGPL linking clauses. 1613s # */ 1613s # 1613s # #ifdef HAVE_CONFIG_H 1613s # # include "config.h" 1613s # #endif 1613s # 1613s # #include 1613s # #ifdef G_OS_UNIX 1613s # # include 1613s # #endif 1613s # 1613s # #ifdef G_ENABLE_DEBUG 1613s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1613s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1613s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1613s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1613s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1613s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1613s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1613s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1613s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1613s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1613s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1613s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1613s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1613s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1613s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1613s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1613s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1613s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1613s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1613s # #else /* !G_ENABLE_DEBUG */ 1613s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1613s # * Do not access GValues directly in your code. Instead, use the 1613s # * g_value_get_*() functions 1613s # */ 1613s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1613s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1613s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1613s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1613s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1613s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1613s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1613s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1613s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1613s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1613s # #endif /* !G_ENABLE_DEBUG */ 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusArgInfo parent_struct; 1613s # gboolean use_gvariant; 1613s # } _ExtendedGDBusArgInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusMethodInfo parent_struct; 1613s # const gchar *signal_name; 1613s # gboolean pass_fdlist; 1613s # } _ExtendedGDBusMethodInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusSignalInfo parent_struct; 1613s # const gchar *signal_name; 1613s # } _ExtendedGDBusSignalInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusPropertyInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # guint use_gvariant : 1; 1613s # guint emits_changed_signal : 1; 1613s # } _ExtendedGDBusPropertyInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # GDBusInterfaceInfo parent_struct; 1613s # const gchar *hyphen_name; 1613s # } _ExtendedGDBusInterfaceInfo; 1613s # 1613s # typedef struct 1613s # { 1613s # const _ExtendedGDBusPropertyInfo *info; 1613s # guint prop_id; 1613s # GValue orig_value; /* the value before the change */ 1613s # } ChangedProperty; 1613s # 1613s # static void 1613s # _changed_property_free (ChangedProperty *data) 1613s # { 1613s # g_value_unset (&data->orig_value); 1613s # g_free (data); 1613s # } 1613s # 1613s # static gboolean 1613s # _g_strv_equal0 (gchar **a, gchar **b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # guint n; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # if (g_strv_length (a) != g_strv_length (b)) 1613s # goto out; 1613s # for (n = 0; a[n] != NULL; n++) 1613s # if (g_strcmp0 (a[n], b[n]) != 0) 1613s # goto out; 1613s # ret = TRUE; 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _g_variant_equal0 (GVariant *a, GVariant *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # if (a == NULL && b == NULL) 1613s # { 1613s # ret = TRUE; 1613s # goto out; 1613s # } 1613s # if (a == NULL || b == NULL) 1613s # goto out; 1613s # ret = g_variant_equal (a, b); 1613s # out: 1613s # return ret; 1613s # } 1613s # 1613s # G_GNUC_UNUSED static gboolean 1613s # _g_value_equal (const GValue *a, const GValue *b) 1613s # { 1613s # gboolean ret = FALSE; 1613s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1613s # switch (G_VALUE_TYPE (a)) 1613s # { 1613s # case G_TYPE_BOOLEAN: 1613s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1613s # break; 1613s # case G_TYPE_UCHAR: 1613s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1613s # break; 1613s # case G_TYPE_INT: 1613s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1613s # break; 1613s # case G_TYPE_UINT: 1613s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1613s # break; 1613s # case G_TYPE_INT64: 1613s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1613s # break; 1613s # case G_TYPE_UINT64: 1613s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1613s # break; 1613s # case G_TYPE_DOUBLE: 1613s # { 1613s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1613s # gdouble da = g_value_get_double (a); 1613s # gdouble db = g_value_get_double (b); 1613s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1613s # } 1613s # break; 1613s # case G_TYPE_STRING: 1613s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1613s # break; 1613s # case G_TYPE_VARIANT: 1613s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1613s # break; 1613s # default: 1613s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1613s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1613s # else 1613s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1613s # break; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static void 1613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1613s # GClosure *closure, 1613s # GValue *return_value, 1613s # unsigned int n_param_values, 1613s # const GValue *param_values, 1613s # void *invocation_hint G_GNUC_UNUSED, 1613s # void *marshal_data) 1613s # { 1613s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1613s # (void *data1, 1613s # GDBusMethodInvocation *arg_method_invocation, 1613s # void *data2); 1613s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1613s # GCClosure *cc = (GCClosure*) closure; 1613s # void *data1, *data2; 1613s # gboolean v_return; 1613s # 1613s # g_return_if_fail (return_value != NULL); 1613s # g_return_if_fail (n_param_values == 2); 1613s # 1613s # if (G_CCLOSURE_SWAP_DATA (closure)) 1613s # { 1613s # data1 = closure->data; 1613s # data2 = g_value_peek_pointer (param_values + 0); 1613s # } 1613s # else 1613s # { 1613s # data1 = g_value_peek_pointer (param_values + 0); 1613s # data2 = closure->data; 1613s # } 1613s # 1613s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1613s # (marshal_data ? marshal_data : cc->callback); 1613s # 1613s # v_return = 1613s # callback (data1, 1613s # g_marshal_value_peek_object (param_values + 1), 1613s # data2); 1613s # 1613s # g_value_set_boolean (return_value, v_return); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ 1613s # * Code for interface org.project.CallableIface 1613s # * ------------------------------------------------------------------------ 1613s # */ 1613s # 1613s # /** 1613s # * SECTION:OrgProjectCallableIface 1613s # * @title: OrgProjectCallableIface 1613s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1613s # * 1613s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1613s # */ 1613s # 1613s # /* ---- Introspection data for org.project.CallableIface ---- */ 1613s # 1613s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "SimpleMethod", 1613s # NULL, 1613s # NULL, 1613s # NULL 1613s # }, 1613s # "handle-simple-method", 1613s # FALSE 1613s # }; 1613s # 1613s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1613s # { 1613s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1613s # NULL 1613s # }; 1613s # 1613s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "org.project.CallableIface", 1613s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1613s # NULL, 1613s # NULL, 1613s # NULL 1613s # }, 1613s # "org-project-callable-iface", 1613s # }; 1613s # 1613s # 1613s # /** 1613s # * org_project_callable_iface_interface_info: 1613s # * 1613s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1613s # * 1613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1613s # */ 1613s # GDBusInterfaceInfo * 1613s # org_project_callable_iface_interface_info (void) 1613s # { 1613s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_override_properties: 1613s # * @klass: The class structure for a #GObject derived class. 1613s # * @property_id_begin: The property id to assign to the first overridden property. 1613s # * 1613s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1613s # * The properties are overridden in the order they are defined. 1613s # * 1613s # * Returns: The last property id. 1613s # */ 1613s # guint 1613s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1613s # { 1613s # return property_id_begin - 1; 1613s # } 1613s # 1613s # 1613s # inline static void 1613s # org_project_callable_iface_method_marshal_simple_method ( 1613s # GClosure *closure, 1613s # GValue *return_value, 1613s # unsigned int n_param_values, 1613s # const GValue *param_values, 1613s # void *invocation_hint, 1613s # void *marshal_data) 1613s # { 1613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1613s # } 1613s # 1613s # 1613s # /** 1613s # * OrgProjectCallableIface: 1613s # * 1613s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectCallableIfaceIface: 1613s # * @parent_iface: The parent interface. 1613s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1613s # * 1613s # * Virtual table for the D-Bus interface org.project.CallableIface. 1613s # */ 1613s # 1613s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1613s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1613s # 1613s # static void 1613s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1613s # { 1613s # /* GObject signals for incoming D-Bus method calls: */ 1613s # /** 1613s # * OrgProjectCallableIface::handle-simple-method: 1613s # * @object: A #OrgProjectCallableIface. 1613s # * @invocation: A #GDBusMethodInvocation. 1613s # * 1613s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1613s # * 1613s # * 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. 1613s # * 1613s # * 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. 1613s # */ 1613s # g_signal_new ("handle-simple-method", 1613s # G_TYPE_FROM_INTERFACE (iface), 1613s # G_SIGNAL_RUN_LAST, 1613s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1613s # g_signal_accumulator_true_handled, 1613s # NULL, 1613s # org_project_callable_iface_method_marshal_simple_method, 1613s # G_TYPE_BOOLEAN, 1613s # 1, 1613s # G_TYPE_DBUS_METHOD_INVOCATION); 1613s # 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_call_simple_method: 1613s # * @proxy: A #OrgProjectCallableIfaceProxy. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1613s # */ 1613s # void 1613s # org_project_callable_iface_call_simple_method ( 1613s # OrgProjectCallableIface *proxy, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1613s # "SimpleMethod", 1613s # g_variant_new ("()"), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # cancellable, 1613s # callback, 1613s # user_data); 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_call_simple_method_finish: 1613s # * @proxy: A #OrgProjectCallableIfaceProxy. 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1613s # * @error: Return location for error or %NULL. 1613s # * 1613s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1613s # * 1613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1613s # */ 1613s # gboolean 1613s # org_project_callable_iface_call_simple_method_finish ( 1613s # OrgProjectCallableIface *proxy, 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GVariant *_ret; 1613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1613s # if (_ret == NULL) 1613s # goto _out; 1613s # g_variant_get (_ret, 1613s # "()"); 1613s # g_variant_unref (_ret); 1613s # _out: 1613s # return _ret != NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_call_simple_method_sync: 1613s # * @proxy: A #OrgProjectCallableIfaceProxy. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL. 1613s # * 1613s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1613s # * 1613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1613s # */ 1613s # gboolean 1613s # org_project_callable_iface_call_simple_method_sync ( 1613s # OrgProjectCallableIface *proxy, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GVariant *_ret; 1613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1613s # "SimpleMethod", 1613s # g_variant_new ("()"), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # cancellable, 1613s # error); 1613s # if (_ret == NULL) 1613s # goto _out; 1613s # g_variant_get (_ret, 1613s # "()"); 1613s # g_variant_unref (_ret); 1613s # _out: 1613s # return _ret != NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_complete_simple_method: 1613s # * @object: A #OrgProjectCallableIface. 1613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1613s # * 1613s # * 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. 1613s # * 1613s # * This method will free @invocation, you cannot use it afterwards. 1613s # */ 1613s # void 1613s # org_project_callable_iface_complete_simple_method ( 1613s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1613s # GDBusMethodInvocation *invocation) 1613s # { 1613s # g_dbus_method_invocation_return_value (invocation, 1613s # g_variant_new ("()")); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * OrgProjectCallableIfaceProxy: 1613s # * 1613s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectCallableIfaceProxyClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for #OrgProjectCallableIfaceProxy. 1613s # */ 1613s # 1613s # struct _OrgProjectCallableIfaceProxyPrivate 1613s # { 1613s # GData *qdata; 1613s # }; 1613s # 1613s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1613s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # org_project_callable_iface_proxy_finalize (GObject *object) 1613s # { 1613s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1613s # g_datalist_clear (&proxy->priv->qdata); 1613s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1613s # guint prop_id G_GNUC_UNUSED, 1613s # GValue *value G_GNUC_UNUSED, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1613s # guint prop_id G_GNUC_UNUSED, 1613s # const GValue *value G_GNUC_UNUSED, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1613s # const gchar *sender_name G_GNUC_UNUSED, 1613s # const gchar *signal_name, 1613s # GVariant *parameters) 1613s # { 1613s # _ExtendedGDBusSignalInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # gsize n; 1613s # guint signal_id; 1613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1613s # if (info == NULL) 1613s # return; 1613s # num_params = g_variant_n_children (parameters); 1613s # paramv = g_new0 (GValue, num_params + 1); 1613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1613s # g_value_set_object (¶mv[0], proxy); 1613s # g_variant_iter_init (&iter, parameters); 1613s # n = 1; 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1613s # g_signal_emitv (paramv, signal_id, 0, NULL); 1613s # for (n = 0; n < num_params + 1; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1613s # GVariant *changed_properties, 1613s # const gchar *const *invalidated_properties) 1613s # { 1613s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1613s # guint n; 1613s # const gchar *key; 1613s # GVariantIter *iter; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # g_variant_get (changed_properties, "a{sv}", &iter); 1613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1613s # g_datalist_remove_data (&proxy->priv->qdata, key); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # g_variant_iter_free (iter); 1613s # for (n = 0; invalidated_properties[n] != NULL; n++) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1613s # #else 1613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1613s # #endif 1613s # 1613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusProxyClass *proxy_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1613s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1613s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1613s # 1613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1613s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1613s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # org_project_callable_iface_proxy_new ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectCallableIface * 1613s # org_project_callable_iface_proxy_new_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new_sync: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectCallableIface * 1613s # org_project_callable_iface_proxy_new_sync ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new_for_bus: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # org_project_callable_iface_proxy_new_for_bus ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new_for_bus_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectCallableIface * 1613s # org_project_callable_iface_proxy_new_for_bus_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_proxy_new_for_bus_sync: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectCallableIface * 1613s # org_project_callable_iface_proxy_new_for_bus_sync ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * OrgProjectCallableIfaceSkeleton: 1613s # * 1613s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectCallableIfaceSkeletonClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1613s # */ 1613s # 1613s # struct _OrgProjectCallableIfaceSkeletonPrivate 1613s # { 1613s # GValue *properties; 1613s # GList *changed_properties; 1613s # GSource *changed_properties_idle_source; 1613s # GMainContext *context; 1613s # GMutex lock; 1613s # }; 1613s # 1613s # static void 1613s # _org_project_callable_iface_skeleton_handle_method_call ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name, 1613s # const gchar *method_name, 1613s # GVariant *parameters, 1613s # GDBusMethodInvocation *invocation, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1613s # _ExtendedGDBusMethodInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # guint num_extra; 1613s # gsize n; 1613s # guint signal_id; 1613s # GValue return_value = G_VALUE_INIT; 1613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1613s # g_assert (info != NULL); 1613s # num_params = g_variant_n_children (parameters); 1613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1613s # n = 0; 1613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1613s # g_value_set_object (¶mv[n++], skeleton); 1613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1613s # g_value_set_object (¶mv[n++], invocation); 1613s # if (info->pass_fdlist) 1613s # { 1613s # #ifdef G_OS_UNIX 1613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1613s # #else 1613s # g_assert_not_reached (); 1613s # #endif 1613s # } 1613s # g_variant_iter_init (&iter, parameters); 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1613s # if (!g_value_get_boolean (&return_value)) 1613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1613s # g_value_unset (&return_value); 1613s # for (n = 0; n < num_params + num_extra; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static GVariant * 1613s # _org_project_callable_iface_skeleton_handle_get_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *ret; 1613s # ret = NULL; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # g_value_init (&value, pspec->value_type); 1613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_value_unset (&value); 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _org_project_callable_iface_skeleton_handle_set_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GVariant *variant, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # gboolean ret; 1613s # ret = FALSE; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # if (info->use_gvariant) 1613s # g_value_set_variant (&value, variant); 1613s # else 1613s # g_dbus_gvariant_to_gvalue (variant, &value); 1613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # g_value_unset (&value); 1613s # ret = TRUE; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1613s # { 1613s # _org_project_callable_iface_skeleton_handle_method_call, 1613s # _org_project_callable_iface_skeleton_handle_get_property, 1613s # _org_project_callable_iface_skeleton_handle_set_property, 1613s # {NULL} 1613s # }; 1613s # 1613s # static GDBusInterfaceInfo * 1613s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return org_project_callable_iface_interface_info (); 1613s # } 1613s # 1613s # static GDBusInterfaceVTable * 1613s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1613s # } 1613s # 1613s # static GVariant * 1613s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1613s # 1613s # GVariantBuilder builder; 1613s # guint n; 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #else 1613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #endif 1613s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1613s # goto out; 1613s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1613s # { 1613s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1613s # { 1613s # GVariant *value; 1613s # 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); 1613s # if (value != NULL) 1613s # { 1613s # g_variant_take_ref (value); 1613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1613s # g_variant_unref (value); 1613s # } 1613s # } 1613s # } 1613s # out: 1613s # return g_variant_builder_end (&builder); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # org_project_callable_iface_skeleton_finalize (GObject *object) 1613s # { 1613s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # g_main_context_unref (skeleton->priv->context); 1613s # g_mutex_clear (&skeleton->priv->lock); 1613s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1613s # #else 1613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1613s # #endif 1613s # 1613s # g_mutex_init (&skeleton->priv->lock); 1613s # skeleton->priv->context = g_main_context_ref_thread_default (); 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusInterfaceSkeletonClass *skeleton_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1613s # 1613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1613s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1613s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1613s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1613s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # /** 1613s # * org_project_callable_iface_skeleton_new: 1613s # * 1613s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1613s # */ 1613s # OrgProjectCallableIface * 1613s # org_project_callable_iface_skeleton_new (void) 1613s # { 1613s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ 1613s # * Code for interface org.project.OtherCallableIface 1613s # * ------------------------------------------------------------------------ 1613s # */ 1613s # 1613s # /** 1613s # * SECTION:OrgProjectOtherCallableIface 1613s # * @title: OrgProjectOtherCallableIface 1613s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1613s # * 1613s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1613s # */ 1613s # 1613s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1613s # 1613s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "SimpleMethod", 1613s # NULL, 1613s # NULL, 1613s # NULL 1613s # }, 1613s # "handle-simple-method", 1613s # FALSE 1613s # }; 1613s # 1613s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1613s # { 1613s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1613s # NULL 1613s # }; 1613s # 1613s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1613s # { 1613s # { 1613s # -1, 1613s # (gchar *) "org.project.OtherCallableIface", 1613s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1613s # NULL, 1613s # NULL, 1613s # NULL 1613s # }, 1613s # "org-project-other-callable-iface", 1613s # }; 1613s # 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_interface_info: 1613s # * 1613s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1613s # * 1613s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1613s # */ 1613s # GDBusInterfaceInfo * 1613s # org_project_other_callable_iface_interface_info (void) 1613s # { 1613s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_override_properties: 1613s # * @klass: The class structure for a #GObject derived class. 1613s # * @property_id_begin: The property id to assign to the first overridden property. 1613s # * 1613s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1613s # * The properties are overridden in the order they are defined. 1613s # * 1613s # * Returns: The last property id. 1613s # */ 1613s # guint 1613s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1613s # { 1613s # return property_id_begin - 1; 1613s # } 1613s # 1613s # 1613s # inline static void 1613s # org_project_other_callable_iface_method_marshal_simple_method ( 1613s # GClosure *closure, 1613s # GValue *return_value, 1613s # unsigned int n_param_values, 1613s # const GValue *param_values, 1613s # void *invocation_hint, 1613s # void *marshal_data) 1613s # { 1613s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1613s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1613s # } 1613s # 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIface: 1613s # * 1613s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIfaceIface: 1613s # * @parent_iface: The parent interface. 1613s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1613s # * 1613s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1613s # */ 1613s # 1613s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1613s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1613s # 1613s # static void 1613s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1613s # { 1613s # /* GObject signals for incoming D-Bus method calls: */ 1613s # /** 1613s # * OrgProjectOtherCallableIface::handle-simple-method: 1613s # * @object: A #OrgProjectOtherCallableIface. 1613s # * @invocation: A #GDBusMethodInvocation. 1613s # * 1613s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1613s # * 1613s # * 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. 1613s # * 1613s # * 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. 1613s # */ 1613s # g_signal_new ("handle-simple-method", 1613s # G_TYPE_FROM_INTERFACE (iface), 1613s # G_SIGNAL_RUN_LAST, 1613s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1613s # g_signal_accumulator_true_handled, 1613s # NULL, 1613s # org_project_other_callable_iface_method_marshal_simple_method, 1613s # G_TYPE_BOOLEAN, 1613s # 1, 1613s # G_TYPE_DBUS_METHOD_INVOCATION); 1613s # 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_call_simple_method: 1613s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1613s # */ 1613s # void 1613s # org_project_other_callable_iface_call_simple_method ( 1613s # OrgProjectOtherCallableIface *proxy, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1613s # "SimpleMethod", 1613s # g_variant_new ("()"), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # cancellable, 1613s # callback, 1613s # user_data); 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_call_simple_method_finish: 1613s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1613s # * @error: Return location for error or %NULL. 1613s # * 1613s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1613s # * 1613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1613s # */ 1613s # gboolean 1613s # org_project_other_callable_iface_call_simple_method_finish ( 1613s # OrgProjectOtherCallableIface *proxy, 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GVariant *_ret; 1613s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1613s # if (_ret == NULL) 1613s # goto _out; 1613s # g_variant_get (_ret, 1613s # "()"); 1613s # g_variant_unref (_ret); 1613s # _out: 1613s # return _ret != NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_call_simple_method_sync: 1613s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL. 1613s # * 1613s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1613s # * 1613s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1613s # */ 1613s # gboolean 1613s # org_project_other_callable_iface_call_simple_method_sync ( 1613s # OrgProjectOtherCallableIface *proxy, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GVariant *_ret; 1613s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1613s # "SimpleMethod", 1613s # g_variant_new ("()"), 1613s # G_DBUS_CALL_FLAGS_NONE, 1613s # -1, 1613s # cancellable, 1613s # error); 1613s # if (_ret == NULL) 1613s # goto _out; 1613s # g_variant_get (_ret, 1613s # "()"); 1613s # g_variant_unref (_ret); 1613s # _out: 1613s # return _ret != NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_complete_simple_method: 1613s # * @object: A #OrgProjectOtherCallableIface. 1613s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1613s # * 1613s # * 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. 1613s # * 1613s # * This method will free @invocation, you cannot use it afterwards. 1613s # */ 1613s # void 1613s # org_project_other_callable_iface_complete_simple_method ( 1613s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1613s # GDBusMethodInvocation *invocation) 1613s # { 1613s # g_dbus_method_invocation_return_value (invocation, 1613s # g_variant_new ("()")); 1613s # } 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIfaceProxy: 1613s # * 1613s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIfaceProxyClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1613s # */ 1613s # 1613s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1613s # { 1613s # GData *qdata; 1613s # }; 1613s # 1613s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1613s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1613s # { 1613s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1613s # g_datalist_clear (&proxy->priv->qdata); 1613s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1613s # guint prop_id G_GNUC_UNUSED, 1613s # GValue *value G_GNUC_UNUSED, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1613s # guint prop_id G_GNUC_UNUSED, 1613s # const GValue *value G_GNUC_UNUSED, 1613s # GParamSpec *pspec G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1613s # const gchar *sender_name G_GNUC_UNUSED, 1613s # const gchar *signal_name, 1613s # GVariant *parameters) 1613s # { 1613s # _ExtendedGDBusSignalInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # gsize n; 1613s # guint signal_id; 1613s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1613s # if (info == NULL) 1613s # return; 1613s # num_params = g_variant_n_children (parameters); 1613s # paramv = g_new0 (GValue, num_params + 1); 1613s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1613s # g_value_set_object (¶mv[0], proxy); 1613s # g_variant_iter_init (&iter, parameters); 1613s # n = 1; 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1613s # g_signal_emitv (paramv, signal_id, 0, NULL); 1613s # for (n = 0; n < num_params + 1; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1613s # GVariant *changed_properties, 1613s # const gchar *const *invalidated_properties) 1613s # { 1613s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1613s # guint n; 1613s # const gchar *key; 1613s # GVariantIter *iter; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # g_variant_get (changed_properties, "a{sv}", &iter); 1613s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1613s # g_datalist_remove_data (&proxy->priv->qdata, key); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # g_variant_iter_free (iter); 1613s # for (n = 0; invalidated_properties[n] != NULL; n++) 1613s # { 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1613s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1613s # if (info != NULL) 1613s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1613s # } 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1613s # #else 1613s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1613s # #endif 1613s # 1613s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusProxyClass *proxy_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1613s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1613s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1613s # 1613s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1613s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1613s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # org_project_other_callable_iface_proxy_new ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectOtherCallableIface * 1613s # org_project_other_callable_iface_proxy_new_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new_sync: 1613s # * @connection: A #GDBusConnection. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectOtherCallableIface * 1613s # org_project_other_callable_iface_proxy_new_sync ( 1613s # GDBusConnection *connection, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new_for_bus: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1613s # * @user_data: User data to pass to @callback. 1613s # * 1613s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1613s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1613s # * 1613s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1613s # */ 1613s # void 1613s # org_project_other_callable_iface_proxy_new_for_bus ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GAsyncReadyCallback callback, 1613s # gpointer user_data) 1613s # { 1613s # 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); 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1613s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectOtherCallableIface * 1613s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1613s # GAsyncResult *res, 1613s # GError **error) 1613s # { 1613s # GObject *ret; 1613s # GObject *source_object; 1613s # source_object = g_async_result_get_source_object (res); 1613s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1613s # g_object_unref (source_object); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1613s # * @bus_type: A #GBusType. 1613s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1613s # * @name: A bus name (well-known or unique). 1613s # * @object_path: An object path. 1613s # * @cancellable: (nullable): A #GCancellable or %NULL. 1613s # * @error: Return location for error or %NULL 1613s # * 1613s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1613s # * 1613s # * The calling thread is blocked until a reply is received. 1613s # * 1613s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1613s # */ 1613s # OrgProjectOtherCallableIface * 1613s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1613s # GBusType bus_type, 1613s # GDBusProxyFlags flags, 1613s # const gchar *name, 1613s # const gchar *object_path, 1613s # GCancellable *cancellable, 1613s # GError **error) 1613s # { 1613s # GInitable *ret; 1613s # 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); 1613s # if (ret != NULL) 1613s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1613s # else 1613s # return NULL; 1613s # } 1613s # 1613s # 1613s # /* ------------------------------------------------------------------------ */ 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIfaceSkeleton: 1613s # * 1613s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1613s # */ 1613s # 1613s # /** 1613s # * OrgProjectOtherCallableIfaceSkeletonClass: 1613s # * @parent_class: The parent class. 1613s # * 1613s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1613s # */ 1613s # 1613s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1613s # { 1613s # GValue *properties; 1613s # GList *changed_properties; 1613s # GSource *changed_properties_idle_source; 1613s # GMainContext *context; 1613s # GMutex lock; 1613s # }; 1613s # 1613s # static void 1613s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name, 1613s # const gchar *method_name, 1613s # GVariant *parameters, 1613s # GDBusMethodInvocation *invocation, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1613s # _ExtendedGDBusMethodInfo *info; 1613s # GVariantIter iter; 1613s # GVariant *child; 1613s # GValue *paramv; 1613s # gsize num_params; 1613s # guint num_extra; 1613s # gsize n; 1613s # guint signal_id; 1613s # GValue return_value = G_VALUE_INIT; 1613s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1613s # g_assert (info != NULL); 1613s # num_params = g_variant_n_children (parameters); 1613s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1613s # n = 0; 1613s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1613s # g_value_set_object (¶mv[n++], skeleton); 1613s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1613s # g_value_set_object (¶mv[n++], invocation); 1613s # if (info->pass_fdlist) 1613s # { 1613s # #ifdef G_OS_UNIX 1613s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1613s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1613s # #else 1613s # g_assert_not_reached (); 1613s # #endif 1613s # } 1613s # g_variant_iter_init (&iter, parameters); 1613s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1613s # { 1613s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1613s # if (arg_info->use_gvariant) 1613s # { 1613s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1613s # g_value_set_variant (¶mv[n], child); 1613s # n++; 1613s # } 1613s # else 1613s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1613s # g_variant_unref (child); 1613s # } 1613s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1613s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1613s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1613s # if (!g_value_get_boolean (&return_value)) 1613s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1613s # g_value_unset (&return_value); 1613s # for (n = 0; n < num_params + num_extra; n++) 1613s # g_value_unset (¶mv[n]); 1613s # g_free (paramv); 1613s # } 1613s # 1613s # static GVariant * 1613s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # GVariant *ret; 1613s # ret = NULL; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # g_value_init (&value, pspec->value_type); 1613s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1613s # g_value_unset (&value); 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static gboolean 1613s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1613s # GDBusConnection *connection G_GNUC_UNUSED, 1613s # const gchar *sender G_GNUC_UNUSED, 1613s # const gchar *object_path G_GNUC_UNUSED, 1613s # const gchar *interface_name G_GNUC_UNUSED, 1613s # const gchar *property_name, 1613s # GVariant *variant, 1613s # GError **error, 1613s # gpointer user_data) 1613s # { 1613s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1613s # GValue value = G_VALUE_INIT; 1613s # GParamSpec *pspec; 1613s # _ExtendedGDBusPropertyInfo *info; 1613s # gboolean ret; 1613s # ret = FALSE; 1613s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1613s # g_assert (info != NULL); 1613s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1613s # if (pspec == NULL) 1613s # { 1613s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1613s # } 1613s # else 1613s # { 1613s # if (info->use_gvariant) 1613s # g_value_set_variant (&value, variant); 1613s # else 1613s # g_dbus_gvariant_to_gvalue (variant, &value); 1613s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1613s # g_value_unset (&value); 1613s # ret = TRUE; 1613s # } 1613s # return ret; 1613s # } 1613s # 1613s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1613s # { 1613s # _org_project_other_callable_iface_skeleton_handle_method_call, 1613s # _org_project_other_callable_iface_skeleton_handle_get_property, 1613s # _org_project_other_callable_iface_skeleton_handle_set_property, 1613s # {NULL} 1613s # }; 1613s # 1613s # static GDBusInterfaceInfo * 1613s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return org_project_other_callable_iface_interface_info (); 1613s # } 1613s # 1613s # static GDBusInterfaceVTable * 1613s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1613s # { 1613s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1613s # } 1613s # 1613s # static GVariant * 1613s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1613s # { 1613s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1613s # 1613s # GVariantBuilder builder; 1613s # guint n; 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1613s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #else 1613s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1613s # #endif 1613s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1613s # goto out; 1613s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1613s # { 1613s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1613s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1613s # { 1613s # GVariant *value; 1613s # 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); 1613s # if (value != NULL) 1613s # { 1613s # g_variant_take_ref (value); 1613s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1613s # g_variant_unref (value); 1613s # } 1613s # } 1613s # } 1613s # out: 1613s # return g_variant_builder_end (&builder); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1613s # 1613s # #else 1613s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1613s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1613s # 1613s # #endif 1613s # static void 1613s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1613s # { 1613s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1613s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1613s # if (skeleton->priv->changed_properties_idle_source != NULL) 1613s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1613s # g_main_context_unref (skeleton->priv->context); 1613s # g_mutex_clear (&skeleton->priv->lock); 1613s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1613s # { 1613s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1613s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1613s # #else 1613s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1613s # #endif 1613s # 1613s # g_mutex_init (&skeleton->priv->lock); 1613s # skeleton->priv->context = g_main_context_ref_thread_default (); 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1613s # { 1613s # GObjectClass *gobject_class; 1613s # GDBusInterfaceSkeletonClass *skeleton_class; 1613s # 1613s # gobject_class = G_OBJECT_CLASS (klass); 1613s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1613s # 1613s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1613s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1613s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1613s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1613s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1613s # 1613s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1613s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1613s # #endif 1613s # } 1613s # 1613s # static void 1613s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1613s # { 1613s # } 1613s # 1613s # /** 1613s # * org_project_other_callable_iface_skeleton_new: 1613s # * 1613s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1613s # * 1613s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1613s # */ 1613s # OrgProjectOtherCallableIface * 1613s # org_project_other_callable_iface_skeleton_new (void) 1613s # { 1613s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1613s # } 1613s # Error: 1614s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1614s # gdbus-codegen: /usr/bin/gdbus-codegen 1614s # tmpdir: /tmp/tmplvtgp6ig 1614s # /tmp/tmplvtgp6ig/tmp7ortl4vd.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp7ortl4vd.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # gboolean arg_arg_b, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_boolean (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_b", 1614s # (gchar *) "b", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodB", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-b", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_b: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-b", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_b, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_b: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_b: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_b ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gboolean arg_arg_b, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodB", 1614s # g_variant_new ("(b)", 1614s # arg_arg_b), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_b_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_b_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_b_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_b: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_b_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gboolean arg_arg_b, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodB", 1614s # g_variant_new ("(b)", 1614s # arg_arg_b), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_b: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_b ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpe_sw0b69.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpe_sw0b69.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # guchar arg_arg_y, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_uchar (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_y", 1614s # (gchar *) "y", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodY", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-y", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_y: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-y", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_y, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_y: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_y: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_y ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guchar arg_arg_y, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodY", 1614s # g_variant_new ("(y)", 1614s # arg_arg_y), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_y_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_y_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_y_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_y: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_y_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guchar arg_arg_y, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodY", 1614s # g_variant_new ("(y)", 1614s # arg_arg_y), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_y: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_y ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmp2xtzbspd.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp2xtzbspd.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # gint16 arg_arg_n, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_int (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_n", 1614s # (gchar *) "n", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodN", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-n", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_n: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-n", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_n, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_n: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_n: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_n ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint16 arg_arg_n, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodN", 1614s # g_variant_new ("(n)", 1614s # arg_arg_n), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_n_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_n_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_n_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_n: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_n_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint16 arg_arg_n, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodN", 1614s # g_variant_new ("(n)", 1614s # arg_arg_n), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_n: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_n ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpdau8965b.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpdau8965b.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # guint16 arg_arg_q, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_uint (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_q", 1614s # (gchar *) "q", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodQ", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-q", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_q: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-q", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_q, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_q: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_q: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_q ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint16 arg_arg_q, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodQ", 1614s # g_variant_new ("(q)", 1614s # arg_arg_q), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_q_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_q_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_q_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_q: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_q_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint16 arg_arg_q, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodQ", 1614s # g_variant_new ("(q)", 1614s # arg_arg_q), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_q: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_q ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmp9e1t1y6x.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp9e1t1y6x.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # gint arg_arg_i, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_int (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_i", 1614s # (gchar *) "i", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodI", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-i", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_i: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-i", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_i, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_i: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_i: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_i ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint arg_arg_i, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodI", 1614s # g_variant_new ("(i)", 1614s # arg_arg_i), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_i_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_i_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_i_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_i: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_i_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint arg_arg_i, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodI", 1614s # g_variant_new ("(i)", 1614s # arg_arg_i), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_i: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_i ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpe_yf013n.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpe_yf013n.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # guint arg_arg_u, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_uint (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_u", 1614s # (gchar *) "u", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodU", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-u", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_u: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-u", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_u, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_u: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_u: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_u ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint arg_arg_u, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodU", 1614s # g_variant_new ("(u)", 1614s # arg_arg_u), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_u_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_u_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_u_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_u: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_u_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint arg_arg_u, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodU", 1614s # g_variant_new ("(u)", 1614s # arg_arg_u), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_u: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_u ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpk8k43nai.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpk8k43nai.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # gint64 arg_arg_x, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_int64 (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_x", 1614s # (gchar *) "x", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodX", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-x", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_x: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-x", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_x, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_x: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_x: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_x ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint64 arg_arg_x, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodX", 1614s # g_variant_new ("(x)", 1614s # arg_arg_x), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_x_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_x_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_x_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_x: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_x_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gint64 arg_arg_x, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodX", 1614s # g_variant_new ("(x)", 1614s # arg_arg_x), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_x: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_x ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmppn6prfs5.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmppn6prfs5.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # guint64 arg_arg_t, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_uint64 (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_t", 1614s # (gchar *) "t", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodT", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-t", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_t: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-t", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_t, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_t: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_t: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_t ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint64 arg_arg_t, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodT", 1614s # g_variant_new ("(t)", 1614s # arg_arg_t), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_t_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_t_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_t_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_t: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_t_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # guint64 arg_arg_t, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodT", 1614s # g_variant_new ("(t)", 1614s # arg_arg_t), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_t: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_t ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpscpyh2us.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpscpyh2us.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # gdouble arg_arg_d, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_double (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_d", 1614s # (gchar *) "d", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodD", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-d", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_d: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-d", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_d, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_d: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_d: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_d ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gdouble arg_arg_d, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodD", 1614s # g_variant_new ("(d)", 1614s # arg_arg_d), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_d_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_d_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_d_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_d: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_d_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # gdouble arg_arg_d, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodD", 1614s # g_variant_new ("(d)", 1614s # arg_arg_d), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_d: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_d ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpwav_xbrr.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpwav_xbrr.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *arg_arg_s, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_string (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_s", 1614s # (gchar *) "s", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodS", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-s", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_s: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-s", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_s, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_s: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_s: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_s ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_s, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodS", 1614s # g_variant_new ("(s)", 1614s # arg_arg_s), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_s_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_s_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_s_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_s: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_s_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_s, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodS", 1614s # g_variant_new ("(s)", 1614s # arg_arg_s), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_s: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_s ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpl6l8kou2.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpl6l8kou2.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *arg_arg_o, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_string (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_o", 1614s # (gchar *) "o", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodO", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-o", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_o: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-o", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_o, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_o: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_o: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_o ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_o, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodO", 1614s # g_variant_new ("(o)", 1614s # arg_arg_o), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_o_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_o_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_o_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_o: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_o_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_o, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodO", 1614s # g_variant_new ("(o)", 1614s # arg_arg_o), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_o: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_o ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmp_m0k46er.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp_m0k46er.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *arg_arg_g, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_string (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_g", 1614s # (gchar *) "g", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodG", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-g", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_g: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-g", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_g, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_g: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_g: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_g ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_g, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodG", 1614s # g_variant_new ("(g)", 1614s # arg_arg_g), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_g_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_g_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_g_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_g: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_g_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_g, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodG", 1614s # g_variant_new ("(g)", 1614s # arg_arg_g), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_g: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_g ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpk5q_f7em.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpk5q_f7em.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # GVariant *arg_arg_h, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_variant (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_h", 1614s # (gchar *) "h", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodH", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-h", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_h: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-h", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_h, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_h: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_h: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_h ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GVariant *arg_arg_h, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodH", 1614s # g_variant_new ("(@h)", 1614s # arg_arg_h), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_h_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_h_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_h_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_h: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_h_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GVariant *arg_arg_h, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodH", 1614s # g_variant_new ("(@h)", 1614s # arg_arg_h), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_h: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_h ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpj8m8r8pt.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpj8m8r8pt.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *arg_arg_ay, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_string (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_ay", 1614s # (gchar *) "ay", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodAy", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-ay", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_ay: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-ay", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ay: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_ay: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_ay ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_ay, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAy", 1614s # g_variant_new ("(^ay)", 1614s # arg_arg_ay), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_ay: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *arg_arg_ay, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAy", 1614s # g_variant_new ("(^ay)", 1614s # arg_arg_ay), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_ay: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_ay ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmp8pehhmn8.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp8pehhmn8.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *const *arg_arg_as, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_boxed (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_as", 1614s # (gchar *) "as", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodAs", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-as", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_as: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-as", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_as, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_as: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_as: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_as ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_as, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAs", 1614s # g_variant_new ("(^as)", 1614s # arg_arg_as), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_as_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_as_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_as_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_as: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_as_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_as, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAs", 1614s # g_variant_new ("(^as)", 1614s # arg_arg_as), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_as: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_as ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmp715gnun3.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmp715gnun3.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *const *arg_arg_ao, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_boxed (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_ao", 1614s # (gchar *) "ao", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodAo", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-ao", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_ao: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-ao", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ao: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_ao: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_ao ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_ao, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAo", 1614s # g_variant_new ("(^ao)", 1614s # arg_arg_ao), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_ao: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_ao, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAo", 1614s # g_variant_new ("(^ao)", 1614s # arg_arg_ao), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_ao: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_ao ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpcn141liv.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpcn141liv.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # const gchar *const *arg_arg_aay, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_boxed (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_aay", 1614s # (gchar *) "aay", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodAay", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-aay", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_aay: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-aay", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_aay: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_aay: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_aay ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_aay, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAay", 1614s # g_variant_new ("(^aay)", 1614s # arg_arg_aay), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_aay: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # const gchar *const *arg_arg_aay, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAay", 1614s # g_variant_new ("(^aay)", 1614s # arg_arg_aay), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_aay: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_aay ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1614s # 1614s # /tmp/tmplvtgp6ig/tmpbzkl09qi.xml: 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # 1614s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplvtgp6ig/tmpbzkl09qi.xml', '--output', '-', '--body'] 1614s # Return code: 0 1614s # Output: 1614s # /* 1614s # * This file is generated by gdbus-codegen, do not modify it. 1614s # * 1614s # * The license of this code is the same as for the D-Bus interface description 1614s # * it was derived from. Note that it links to GLib, so must comply with the 1614s # * LGPL linking clauses. 1614s # */ 1614s # 1614s # #ifdef HAVE_CONFIG_H 1614s # # include "config.h" 1614s # #endif 1614s # 1614s # #include 1614s # #ifdef G_OS_UNIX 1614s # # include 1614s # #endif 1614s # 1614s # #ifdef G_ENABLE_DEBUG 1614s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1614s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1614s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1614s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1614s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1614s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1614s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1614s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1614s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1614s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1614s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1614s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1614s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1614s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1614s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1614s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1614s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1614s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1614s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1614s # #else /* !G_ENABLE_DEBUG */ 1614s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1614s # * Do not access GValues directly in your code. Instead, use the 1614s # * g_value_get_*() functions 1614s # */ 1614s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1614s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1614s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1614s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1614s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1614s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1614s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1614s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1614s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1614s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1614s # #endif /* !G_ENABLE_DEBUG */ 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusArgInfo parent_struct; 1614s # gboolean use_gvariant; 1614s # } _ExtendedGDBusArgInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusMethodInfo parent_struct; 1614s # const gchar *signal_name; 1614s # gboolean pass_fdlist; 1614s # } _ExtendedGDBusMethodInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusSignalInfo parent_struct; 1614s # const gchar *signal_name; 1614s # } _ExtendedGDBusSignalInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusPropertyInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # guint use_gvariant : 1; 1614s # guint emits_changed_signal : 1; 1614s # } _ExtendedGDBusPropertyInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # GDBusInterfaceInfo parent_struct; 1614s # const gchar *hyphen_name; 1614s # } _ExtendedGDBusInterfaceInfo; 1614s # 1614s # typedef struct 1614s # { 1614s # const _ExtendedGDBusPropertyInfo *info; 1614s # guint prop_id; 1614s # GValue orig_value; /* the value before the change */ 1614s # } ChangedProperty; 1614s # 1614s # static void 1614s # _changed_property_free (ChangedProperty *data) 1614s # { 1614s # g_value_unset (&data->orig_value); 1614s # g_free (data); 1614s # } 1614s # 1614s # static gboolean 1614s # _g_strv_equal0 (gchar **a, gchar **b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # guint n; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # if (g_strv_length (a) != g_strv_length (b)) 1614s # goto out; 1614s # for (n = 0; a[n] != NULL; n++) 1614s # if (g_strcmp0 (a[n], b[n]) != 0) 1614s # goto out; 1614s # ret = TRUE; 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _g_variant_equal0 (GVariant *a, GVariant *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # if (a == NULL && b == NULL) 1614s # { 1614s # ret = TRUE; 1614s # goto out; 1614s # } 1614s # if (a == NULL || b == NULL) 1614s # goto out; 1614s # ret = g_variant_equal (a, b); 1614s # out: 1614s # return ret; 1614s # } 1614s # 1614s # G_GNUC_UNUSED static gboolean 1614s # _g_value_equal (const GValue *a, const GValue *b) 1614s # { 1614s # gboolean ret = FALSE; 1614s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1614s # switch (G_VALUE_TYPE (a)) 1614s # { 1614s # case G_TYPE_BOOLEAN: 1614s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1614s # break; 1614s # case G_TYPE_UCHAR: 1614s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1614s # break; 1614s # case G_TYPE_INT: 1614s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1614s # break; 1614s # case G_TYPE_UINT: 1614s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1614s # break; 1614s # case G_TYPE_INT64: 1614s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1614s # break; 1614s # case G_TYPE_UINT64: 1614s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1614s # break; 1614s # case G_TYPE_DOUBLE: 1614s # { 1614s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1614s # gdouble da = g_value_get_double (a); 1614s # gdouble db = g_value_get_double (b); 1614s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1614s # } 1614s # break; 1614s # case G_TYPE_STRING: 1614s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1614s # break; 1614s # case G_TYPE_VARIANT: 1614s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1614s # break; 1614s # default: 1614s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1614s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1614s # else 1614s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1614s # break; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static void 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint G_GNUC_UNUSED, 1614s # void *marshal_data) 1614s # { 1614s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1614s # (void *data1, 1614s # GDBusMethodInvocation *arg_method_invocation, 1614s # GVariant *arg_arg_asv, 1614s # void *data2); 1614s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1614s # GCClosure *cc = (GCClosure*) closure; 1614s # void *data1, *data2; 1614s # gboolean v_return; 1614s # 1614s # g_return_if_fail (return_value != NULL); 1614s # g_return_if_fail (n_param_values == 3); 1614s # 1614s # if (G_CCLOSURE_SWAP_DATA (closure)) 1614s # { 1614s # data1 = closure->data; 1614s # data2 = g_value_peek_pointer (param_values + 0); 1614s # } 1614s # else 1614s # { 1614s # data1 = g_value_peek_pointer (param_values + 0); 1614s # data2 = closure->data; 1614s # } 1614s # 1614s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1614s # (marshal_data ? marshal_data : cc->callback); 1614s # 1614s # v_return = 1614s # callback (data1, 1614s # g_marshal_value_peek_object (param_values + 1), 1614s # g_marshal_value_peek_variant (param_values + 2), 1614s # data2); 1614s # 1614s # g_value_set_boolean (return_value, v_return); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ 1614s # * Code for interface org.project.UsefulInterface 1614s # * ------------------------------------------------------------------------ 1614s # */ 1614s # 1614s # /** 1614s # * SECTION:OrgProjectUsefulInterface 1614s # * @title: OrgProjectUsefulInterface 1614s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1614s # * 1614s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1614s # */ 1614s # 1614s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1614s # 1614s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "arg_asv", 1614s # (gchar *) "a{sv}", 1614s # NULL 1614s # }, 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "SingleArgMethodAsv", 1614s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "handle-single-arg-method-asv", 1614s # FALSE 1614s # }; 1614s # 1614s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1614s # { 1614s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1614s # NULL 1614s # }; 1614s # 1614s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1614s # { 1614s # { 1614s # -1, 1614s # (gchar *) "org.project.UsefulInterface", 1614s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1614s # NULL, 1614s # NULL, 1614s # NULL 1614s # }, 1614s # "org-project-useful-interface", 1614s # }; 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_interface_info: 1614s # * 1614s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1614s # * 1614s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1614s # */ 1614s # GDBusInterfaceInfo * 1614s # org_project_useful_interface_interface_info (void) 1614s # { 1614s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_override_properties: 1614s # * @klass: The class structure for a #GObject derived class. 1614s # * @property_id_begin: The property id to assign to the first overridden property. 1614s # * 1614s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1614s # * The properties are overridden in the order they are defined. 1614s # * 1614s # * Returns: The last property id. 1614s # */ 1614s # guint 1614s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1614s # { 1614s # return property_id_begin - 1; 1614s # } 1614s # 1614s # 1614s # inline static void 1614s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1614s # GClosure *closure, 1614s # GValue *return_value, 1614s # unsigned int n_param_values, 1614s # const GValue *param_values, 1614s # void *invocation_hint, 1614s # void *marshal_data) 1614s # { 1614s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1614s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1614s # } 1614s # 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterface: 1614s # * 1614s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceIface: 1614s # * @parent_iface: The parent interface. 1614s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1614s # * 1614s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1614s # */ 1614s # 1614s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1614s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1614s # 1614s # static void 1614s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1614s # { 1614s # /* GObject signals for incoming D-Bus method calls: */ 1614s # /** 1614s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: A #GDBusMethodInvocation. 1614s # * @arg_arg_asv: Argument passed by remote caller. 1614s # * 1614s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1614s # * 1614s # * 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. 1614s # * 1614s # * 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. 1614s # */ 1614s # g_signal_new ("handle-single-arg-method-asv", 1614s # G_TYPE_FROM_INTERFACE (iface), 1614s # G_SIGNAL_RUN_LAST, 1614s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1614s # g_signal_accumulator_true_handled, 1614s # NULL, 1614s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1614s # G_TYPE_BOOLEAN, 1614s # 2, 1614s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1614s # 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_asv: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_asv: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1614s # */ 1614s # void 1614s # org_project_useful_interface_call_single_arg_method_asv ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GVariant *arg_arg_asv, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAsv", 1614s # g_variant_new ("(@a{sv})", 1614s # arg_arg_asv), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # callback, 1614s # user_data); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1614s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1614s # * @arg_arg_asv: Argument to pass with the method invocation. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL. 1614s # * 1614s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1614s # * 1614s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1614s # */ 1614s # gboolean 1614s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1614s # OrgProjectUsefulInterface *proxy, 1614s # GVariant *arg_arg_asv, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GVariant *_ret; 1614s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1614s # "SingleArgMethodAsv", 1614s # g_variant_new ("(@a{sv})", 1614s # arg_arg_asv), 1614s # G_DBUS_CALL_FLAGS_NONE, 1614s # -1, 1614s # cancellable, 1614s # error); 1614s # if (_ret == NULL) 1614s # goto _out; 1614s # g_variant_get (_ret, 1614s # "()"); 1614s # g_variant_unref (_ret); 1614s # _out: 1614s # return _ret != NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_complete_single_arg_method_asv: 1614s # * @object: A #OrgProjectUsefulInterface. 1614s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1614s # * 1614s # * 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. 1614s # * 1614s # * This method will free @invocation, you cannot use it afterwards. 1614s # */ 1614s # void 1614s # org_project_useful_interface_complete_single_arg_method_asv ( 1614s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1614s # GDBusMethodInvocation *invocation) 1614s # { 1614s # g_dbus_method_invocation_return_value (invocation, 1614s # g_variant_new ("()")); 1614s # } 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxy: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceProxyClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceProxyPrivate 1614s # { 1614s # GData *qdata; 1614s # }; 1614s # 1614s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_proxy_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1614s # g_datalist_clear (&proxy->priv->qdata); 1614s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1614s # guint prop_id G_GNUC_UNUSED, 1614s # const GValue *value G_GNUC_UNUSED, 1614s # GParamSpec *pspec G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1614s # const gchar *sender_name G_GNUC_UNUSED, 1614s # const gchar *signal_name, 1614s # GVariant *parameters) 1614s # { 1614s # _ExtendedGDBusSignalInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # gsize n; 1614s # guint signal_id; 1614s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1614s # if (info == NULL) 1614s # return; 1614s # num_params = g_variant_n_children (parameters); 1614s # paramv = g_new0 (GValue, num_params + 1); 1614s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[0], proxy); 1614s # g_variant_iter_init (&iter, parameters); 1614s # n = 1; 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_signal_emitv (paramv, signal_id, 0, NULL); 1614s # for (n = 0; n < num_params + 1; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1614s # GVariant *changed_properties, 1614s # const gchar *const *invalidated_properties) 1614s # { 1614s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1614s # guint n; 1614s # const gchar *key; 1614s # GVariantIter *iter; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # g_variant_get (changed_properties, "a{sv}", &iter); 1614s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1614s # g_datalist_remove_data (&proxy->priv->qdata, key); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # g_variant_iter_free (iter); 1614s # for (n = 0; invalidated_properties[n] != NULL; n++) 1614s # { 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1614s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1614s # if (info != NULL) 1614s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1614s # } 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1614s # #else 1614s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1614s # #endif 1614s # 1614s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusProxyClass *proxy_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1614s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1614s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1614s # 1614s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1614s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1614s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_sync: 1614s # * @connection: A #GDBusConnection. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_sync ( 1614s # GDBusConnection *connection, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1614s # * @user_data: User data to pass to @callback. 1614s # * 1614s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1614s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1614s # */ 1614s # void 1614s # org_project_useful_interface_proxy_new_for_bus ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GAsyncReadyCallback callback, 1614s # gpointer user_data) 1614s # { 1614s # g_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); 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_finish: 1614s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_finish ( 1614s # GAsyncResult *res, 1614s # GError **error) 1614s # { 1614s # GObject *ret; 1614s # GObject *source_object; 1614s # source_object = g_async_result_get_source_object (res); 1614s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1614s # g_object_unref (source_object); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_proxy_new_for_bus_sync: 1614s # * @bus_type: A #GBusType. 1614s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1614s # * @name: A bus name (well-known or unique). 1614s # * @object_path: An object path. 1614s # * @cancellable: (nullable): A #GCancellable or %NULL. 1614s # * @error: Return location for error or %NULL 1614s # * 1614s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1614s # * 1614s # * The calling thread is blocked until a reply is received. 1614s # * 1614s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_proxy_new_for_bus_sync ( 1614s # GBusType bus_type, 1614s # GDBusProxyFlags flags, 1614s # const gchar *name, 1614s # const gchar *object_path, 1614s # GCancellable *cancellable, 1614s # GError **error) 1614s # { 1614s # GInitable *ret; 1614s # 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); 1614s # if (ret != NULL) 1614s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1614s # else 1614s # return NULL; 1614s # } 1614s # 1614s # 1614s # /* ------------------------------------------------------------------------ */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeleton: 1614s # * 1614s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1614s # */ 1614s # 1614s # /** 1614s # * OrgProjectUsefulInterfaceSkeletonClass: 1614s # * @parent_class: The parent class. 1614s # * 1614s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1614s # */ 1614s # 1614s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1614s # { 1614s # GValue *properties; 1614s # GList *changed_properties; 1614s # GSource *changed_properties_idle_source; 1614s # GMainContext *context; 1614s # GMutex lock; 1614s # }; 1614s # 1614s # static void 1614s # _org_project_useful_interface_skeleton_handle_method_call ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name, 1614s # const gchar *method_name, 1614s # GVariant *parameters, 1614s # GDBusMethodInvocation *invocation, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # _ExtendedGDBusMethodInfo *info; 1614s # GVariantIter iter; 1614s # GVariant *child; 1614s # GValue *paramv; 1614s # gsize num_params; 1614s # guint num_extra; 1614s # gsize n; 1614s # guint signal_id; 1614s # GValue return_value = G_VALUE_INIT; 1614s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1614s # g_assert (info != NULL); 1614s # num_params = g_variant_n_children (parameters); 1614s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1614s # n = 0; 1614s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_set_object (¶mv[n++], skeleton); 1614s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1614s # g_value_set_object (¶mv[n++], invocation); 1614s # if (info->pass_fdlist) 1614s # { 1614s # #ifdef G_OS_UNIX 1614s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1614s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1614s # #else 1614s # g_assert_not_reached (); 1614s # #endif 1614s # } 1614s # g_variant_iter_init (&iter, parameters); 1614s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1614s # { 1614s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1614s # if (arg_info->use_gvariant) 1614s # { 1614s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1614s # g_value_set_variant (¶mv[n], child); 1614s # n++; 1614s # } 1614s # else 1614s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1614s # g_variant_unref (child); 1614s # } 1614s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1614s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1614s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1614s # if (!g_value_get_boolean (&return_value)) 1614s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1614s # g_value_unset (&return_value); 1614s # for (n = 0; n < num_params + num_extra; n++) 1614s # g_value_unset (¶mv[n]); 1614s # g_free (paramv); 1614s # } 1614s # 1614s # static GVariant * 1614s # _org_project_useful_interface_skeleton_handle_get_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # GVariant *ret; 1614s # ret = NULL; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # g_value_init (&value, pspec->value_type); 1614s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1614s # g_value_unset (&value); 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static gboolean 1614s # _org_project_useful_interface_skeleton_handle_set_property ( 1614s # GDBusConnection *connection G_GNUC_UNUSED, 1614s # const gchar *sender G_GNUC_UNUSED, 1614s # const gchar *object_path G_GNUC_UNUSED, 1614s # const gchar *interface_name G_GNUC_UNUSED, 1614s # const gchar *property_name, 1614s # GVariant *variant, 1614s # GError **error, 1614s # gpointer user_data) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1614s # GValue value = G_VALUE_INIT; 1614s # GParamSpec *pspec; 1614s # _ExtendedGDBusPropertyInfo *info; 1614s # gboolean ret; 1614s # ret = FALSE; 1614s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1614s # g_assert (info != NULL); 1614s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1614s # if (pspec == NULL) 1614s # { 1614s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1614s # } 1614s # else 1614s # { 1614s # if (info->use_gvariant) 1614s # g_value_set_variant (&value, variant); 1614s # else 1614s # g_dbus_gvariant_to_gvalue (variant, &value); 1614s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1614s # g_value_unset (&value); 1614s # ret = TRUE; 1614s # } 1614s # return ret; 1614s # } 1614s # 1614s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1614s # { 1614s # _org_project_useful_interface_skeleton_handle_method_call, 1614s # _org_project_useful_interface_skeleton_handle_get_property, 1614s # _org_project_useful_interface_skeleton_handle_set_property, 1614s # {NULL} 1614s # }; 1614s # 1614s # static GDBusInterfaceInfo * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return org_project_useful_interface_interface_info (); 1614s # } 1614s # 1614s # static GDBusInterfaceVTable * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1614s # { 1614s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1614s # } 1614s # 1614s # static GVariant * 1614s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1614s # 1614s # GVariantBuilder builder; 1614s # guint n; 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1614s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #else 1614s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1614s # #endif 1614s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1614s # goto out; 1614s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1614s # { 1614s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1614s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1614s # { 1614s # GVariant *value; 1614s # 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); 1614s # if (value != NULL) 1614s # { 1614s # g_variant_take_ref (value); 1614s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1614s # g_variant_unref (value); 1614s # } 1614s # } 1614s # } 1614s # out: 1614s # return g_variant_builder_end (&builder); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #else 1614s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1614s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1614s # 1614s # #endif 1614s # static void 1614s # org_project_useful_interface_skeleton_finalize (GObject *object) 1614s # { 1614s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1614s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1614s # if (skeleton->priv->changed_properties_idle_source != NULL) 1614s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1614s # g_main_context_unref (skeleton->priv->context); 1614s # g_mutex_clear (&skeleton->priv->lock); 1614s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1614s # { 1614s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1614s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1614s # #else 1614s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1614s # #endif 1614s # 1614s # g_mutex_init (&skeleton->priv->lock); 1614s # skeleton->priv->context = g_main_context_ref_thread_default (); 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1614s # { 1614s # GObjectClass *gobject_class; 1614s # GDBusInterfaceSkeletonClass *skeleton_class; 1614s # 1614s # gobject_class = G_OBJECT_CLASS (klass); 1614s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1614s # 1614s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1614s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1614s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1614s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1614s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1614s # 1614s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1614s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1614s # #endif 1614s # } 1614s # 1614s # static void 1614s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1614s # { 1614s # } 1614s # 1614s # /** 1614s # * org_project_useful_interface_skeleton_new: 1614s # * 1614s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1614s # * 1614s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1614s # */ 1614s # OrgProjectUsefulInterface * 1614s # org_project_useful_interface_skeleton_new (void) 1614s # { 1614s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1614s # } 1614s # Error: 1615s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpas1l9g1n 1615s # /tmp/tmpas1l9g1n/tmpmxexvfue.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpmxexvfue.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodB", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-b", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-b", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_b, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_b: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_b ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodB", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_b_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_b_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gboolean *out_arg_b, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(b)", 1615s # out_arg_b); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_b_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_b_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gboolean *out_arg_b, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodB", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(b)", 1615s # out_arg_b); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_b: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_b: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_b ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gboolean arg_b) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(b)", 1615s # arg_b)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpquirl96m.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpquirl96m.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodY", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-y", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-y", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_y, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_y: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_y ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodY", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_y_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_y_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guchar *out_arg_y, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(y)", 1615s # out_arg_y); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_y_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_y_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guchar *out_arg_y, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodY", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(y)", 1615s # out_arg_y); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_y: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_y: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_y ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # guchar arg_y) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(y)", 1615s # arg_y)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmppxk9horg.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmppxk9horg.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodN", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-n", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-n", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_n, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_n: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_n ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodN", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_n_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_n_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint16 *out_arg_n, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(n)", 1615s # out_arg_n); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_n_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_n_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint16 *out_arg_n, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodN", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(n)", 1615s # out_arg_n); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_n: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_n: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_n ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gint16 arg_n) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(n)", 1615s # arg_n)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpkbjn5c31.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpkbjn5c31.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodQ", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-q", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-q", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_q, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_q: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_q ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodQ", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_q_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_q_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint16 *out_arg_q, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(q)", 1615s # out_arg_q); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_q_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_q_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint16 *out_arg_q, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodQ", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(q)", 1615s # out_arg_q); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_q: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_q: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_q ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # guint16 arg_q) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(q)", 1615s # arg_q)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpdpwtke_t.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpdpwtke_t.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodI", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-i", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-i", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_i, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_i: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_i ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodI", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_i_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_i_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint *out_arg_i, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(i)", 1615s # out_arg_i); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_i_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_i_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint *out_arg_i, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodI", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(i)", 1615s # out_arg_i); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_i: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_i: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_i ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gint arg_i) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(i)", 1615s # arg_i)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmplb3ihrwo.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmplb3ihrwo.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodU", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-u", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-u", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_u, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_u: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_u ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodU", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_u_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_u_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint *out_arg_u, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(u)", 1615s # out_arg_u); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_u_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_u_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint *out_arg_u, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodU", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(u)", 1615s # out_arg_u); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_u: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_u: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_u ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # guint arg_u) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(u)", 1615s # arg_u)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpf__tdlkp.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpf__tdlkp.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodX", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-x", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-x", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_x, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_x: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_x ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodX", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_x_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_x_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint64 *out_arg_x, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(x)", 1615s # out_arg_x); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_x_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_x_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gint64 *out_arg_x, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodX", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(x)", 1615s # out_arg_x); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_x: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_x: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_x ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gint64 arg_x) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(x)", 1615s # arg_x)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpj3ovmqo1.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpj3ovmqo1.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodT", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-t", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-t", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_t, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_t: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_t ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodT", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_t_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_t_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint64 *out_arg_t, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(t)", 1615s # out_arg_t); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_t_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_t_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # guint64 *out_arg_t, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodT", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(t)", 1615s # out_arg_t); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_t: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_t: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_t ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # guint64 arg_t) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(t)", 1615s # arg_t)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpuqcbtor5.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpuqcbtor5.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodD", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-d", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-d", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_d, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_d: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_d ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodD", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_d_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_d_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gdouble *out_arg_d, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(d)", 1615s # out_arg_d); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_d_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_d_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gdouble *out_arg_d, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodD", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(d)", 1615s # out_arg_d); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_d: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_d: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_d ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gdouble arg_d) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(d)", 1615s # arg_d)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpch2y8gug.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpch2y8gug.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodS", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-s", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-s", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_s, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_s: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_s ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodS", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_s_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_s_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_s, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(s)", 1615s # out_arg_s); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_s_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_s_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_s, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodS", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(s)", 1615s # out_arg_s); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_s: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_s: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_s ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *arg_s) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(s)", 1615s # arg_s)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpvr4zux8x.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpvr4zux8x.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodO", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-o", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-o", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_o, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_o: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_o ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodO", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_o_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_o_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_o, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(o)", 1615s # out_arg_o); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_o_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_o_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_o, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodO", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(o)", 1615s # out_arg_o); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_o: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_o: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_o ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *arg_o) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(o)", 1615s # arg_o)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmp_yrmo6gb.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmp_yrmo6gb.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodG", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-g", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-g", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_g, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_g: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_g ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodG", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_g_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_g_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_g, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(g)", 1615s # out_arg_g); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_g_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_g_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_g, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodG", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(g)", 1615s # out_arg_g); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_g: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_g: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_g ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *arg_g) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(g)", 1615s # arg_g)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmp60ry4mv0.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmp60ry4mv0.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodH", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-h", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-h", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_h, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_h: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_h ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodH", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_h_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_h_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GVariant **out_arg_h, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(@h)", 1615s # out_arg_h); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_h_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_h_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GVariant **out_arg_h, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodH", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(@h)", 1615s # out_arg_h); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_h: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_h: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_h ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # GVariant *arg_h) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(@h)", 1615s # arg_h)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmp8fkzdob6.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmp8fkzdob6.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodAy", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-ay", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-ay", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ay: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_ay ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAy", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_ay, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^ay)", 1615s # out_arg_ay); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar **out_arg_ay, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAy", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^ay)", 1615s # out_arg_ay); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_ay: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_ay: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_ay ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *arg_ay) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(^ay)", 1615s # arg_ay)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpzdqtxjtj.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpzdqtxjtj.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodAs", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-as", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-as", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_as, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_as: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_as ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAs", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_as_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_as_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_as, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^as)", 1615s # out_arg_as); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_as_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_as_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_as, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAs", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^as)", 1615s # out_arg_as); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_as: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_as: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_as ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *const *arg_as) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(^as)", 1615s # arg_as)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpqvbmdx5z.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpqvbmdx5z.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodAo", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-ao", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-ao", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ao: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_ao ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAo", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_ao, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^ao)", 1615s # out_arg_ao); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_ao, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAo", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^ao)", 1615s # out_arg_ao); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_ao: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_ao: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_ao ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *const *arg_ao) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(^ao)", 1615s # arg_ao)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpgjr3qlxp.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpgjr3qlxp.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodAay", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-aay", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-aay", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_aay: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_aay ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAay", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_aay, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^aay)", 1615s # out_arg_aay); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # gchar ***out_arg_aay, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAay", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(^aay)", 1615s # out_arg_aay); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_aay: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_aay: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_aay ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # const gchar *const *arg_aay) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(^aay)", 1615s # arg_aay)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s # 1615s # /tmp/tmpas1l9g1n/tmpswly158x.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas1l9g1n/tmpswly158x.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "arg_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgMethodAsv", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-single-arg-method-asv", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-single-arg-method-asv", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_asv: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_useful_interface_call_single_arg_method_asv ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAsv", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GVariant **out_arg_asv, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(@a{sv})", 1615s # out_arg_asv); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1615s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1615s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1615s # OrgProjectUsefulInterface *proxy, 1615s # GVariant **out_arg_asv, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SingleArgMethodAsv", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(@a{sv})", 1615s # out_arg_asv); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_complete_single_arg_method_asv: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @arg_asv: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_useful_interface_complete_single_arg_method_asv ( 1615s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # GVariant *arg_asv) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(@a{sv})", 1615s # arg_asv)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpgwnrrx_7 1615s # /tmp/tmpgwnrrx_7/tmp3ux2f7j7.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgwnrrx_7/tmp3ux2f7j7.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 20); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # g_marshal_value_peek_boolean (param_values + 2), 1615s # g_marshal_value_peek_uchar (param_values + 3), 1615s # g_marshal_value_peek_int (param_values + 4), 1615s # g_marshal_value_peek_uint (param_values + 5), 1615s # g_marshal_value_peek_int (param_values + 6), 1615s # g_marshal_value_peek_uint (param_values + 7), 1615s # g_marshal_value_peek_int64 (param_values + 8), 1615s # g_marshal_value_peek_uint64 (param_values + 9), 1615s # g_marshal_value_peek_double (param_values + 10), 1615s # g_marshal_value_peek_string (param_values + 11), 1615s # g_marshal_value_peek_string (param_values + 12), 1615s # g_marshal_value_peek_string (param_values + 13), 1615s # g_marshal_value_peek_variant (param_values + 14), 1615s # g_marshal_value_peek_string (param_values + 15), 1615s # g_marshal_value_peek_boxed (param_values + 16), 1615s # g_marshal_value_peek_boxed (param_values + 17), 1615s # g_marshal_value_peek_boxed (param_values + 18), 1615s # g_marshal_value_peek_variant (param_values + 19), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.CallableIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectCallableIface 1615s # * @title: OrgProjectCallableIface 1615s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.CallableIface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1615s # { 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "MethodWithManyArgs", 1615s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "handle-method-with-many-args", 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1615s # { 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SameMethodWithManyArgs", 1615s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "handle-same-method-with-many-args", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1615s # { 1615s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1615s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.CallableIface", 1615s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-callable-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_callable_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_callable_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_callable_iface_method_marshal_method_with_many_args ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _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, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _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, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectCallableIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1615s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.CallableIface. 1615s # */ 1615s # 1615s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectCallableIface::handle-method-with-many-args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * @arg_an_b: Argument passed by remote caller. 1615s # * @arg_an_y: Argument passed by remote caller. 1615s # * @arg_an_n: Argument passed by remote caller. 1615s # * @arg_an_q: Argument passed by remote caller. 1615s # * @arg_an_i: Argument passed by remote caller. 1615s # * @arg_an_u: Argument passed by remote caller. 1615s # * @arg_an_x: Argument passed by remote caller. 1615s # * @arg_an_t: Argument passed by remote caller. 1615s # * @arg_an_d: Argument passed by remote caller. 1615s # * @arg_an_s: Argument passed by remote caller. 1615s # * @arg_an_o: Argument passed by remote caller. 1615s # * @arg_an_g: Argument passed by remote caller. 1615s # * @arg_an_h: Argument passed by remote caller. 1615s # * @arg_an_ay: Argument passed by remote caller. 1615s # * @arg_an_as: Argument passed by remote caller. 1615s # * @arg_an_ao: Argument passed by remote caller. 1615s # * @arg_an_aay: Argument passed by remote caller. 1615s # * @arg_an_asv: Argument passed by remote caller. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-method-with-many-args", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_callable_iface_method_marshal_method_with_many_args, 1615s # G_TYPE_BOOLEAN, 1615s # 19, 1615s # 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); 1615s # 1615s # /** 1615s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * @arg_an_b: Argument passed by remote caller. 1615s # * @arg_an_y: Argument passed by remote caller. 1615s # * @arg_an_n: Argument passed by remote caller. 1615s # * @arg_an_q: Argument passed by remote caller. 1615s # * @arg_an_i: Argument passed by remote caller. 1615s # * @arg_an_u: Argument passed by remote caller. 1615s # * @arg_an_x: Argument passed by remote caller. 1615s # * @arg_an_t: Argument passed by remote caller. 1615s # * @arg_an_d: Argument passed by remote caller. 1615s # * @arg_an_s: Argument passed by remote caller. 1615s # * @arg_an_o: Argument passed by remote caller. 1615s # * @arg_an_g: Argument passed by remote caller. 1615s # * @arg_an_h: Argument passed by remote caller. 1615s # * @arg_an_ay: Argument passed by remote caller. 1615s # * @arg_an_as: Argument passed by remote caller. 1615s # * @arg_an_ao: Argument passed by remote caller. 1615s # * @arg_an_aay: Argument passed by remote caller. 1615s # * @arg_an_asv: Argument passed by remote caller. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-same-method-with-many-args", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1615s # G_TYPE_BOOLEAN, 1615s # 19, 1615s # 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); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_callable_iface_call_method_with_many_args ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args_finish: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_method_with_many_args_finish ( 1615s # OrgProjectCallableIface *proxy, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args_sync: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_method_with_many_args_sync ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_same_method_with_many_args: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_callable_iface_call_same_method_with_many_args ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "SameMethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1615s # OrgProjectCallableIface *proxy, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "SameMethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_complete_method_with_many_args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_callable_iface_complete_method_with_many_args ( 1615s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("()")); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_complete_same_method_with_many_args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_callable_iface_complete_same_method_with_many_args ( 1615s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("()")); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceProxy: 1615s # * 1615s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectCallableIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectCallableIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_callable_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_callable_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_callable_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectCallableIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_callable_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_callable_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_callable_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1615s # { 1615s # _org_project_callable_iface_skeleton_handle_method_call, 1615s # _org_project_callable_iface_skeleton_handle_get_property, 1615s # _org_project_callable_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_callable_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_callable_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.OtherCallableIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectOtherCallableIface 1615s # * @title: OrgProjectOtherCallableIface 1615s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1615s # { 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "MethodWithManyArgs", 1615s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "handle-method-with-many-args", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1615s # { 1615s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.OtherCallableIface", 1615s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-other-callable-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_other_callable_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _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, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1615s # */ 1615s # 1615s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1615s # * @object: A #OrgProjectOtherCallableIface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * @arg_an_b: Argument passed by remote caller. 1615s # * @arg_an_y: Argument passed by remote caller. 1615s # * @arg_an_n: Argument passed by remote caller. 1615s # * @arg_an_q: Argument passed by remote caller. 1615s # * @arg_an_i: Argument passed by remote caller. 1615s # * @arg_an_u: Argument passed by remote caller. 1615s # * @arg_an_x: Argument passed by remote caller. 1615s # * @arg_an_t: Argument passed by remote caller. 1615s # * @arg_an_d: Argument passed by remote caller. 1615s # * @arg_an_s: Argument passed by remote caller. 1615s # * @arg_an_o: Argument passed by remote caller. 1615s # * @arg_an_g: Argument passed by remote caller. 1615s # * @arg_an_h: Argument passed by remote caller. 1615s # * @arg_an_ay: Argument passed by remote caller. 1615s # * @arg_an_as: Argument passed by remote caller. 1615s # * @arg_an_ao: Argument passed by remote caller. 1615s # * @arg_an_aay: Argument passed by remote caller. 1615s # * @arg_an_asv: Argument passed by remote caller. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-method-with-many-args", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1615s # G_TYPE_BOOLEAN, 1615s # 19, 1615s # 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); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_call_method_with_many_args: 1615s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_other_callable_iface_call_method_with_many_args ( 1615s # OrgProjectOtherCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1615s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1615s # OrgProjectOtherCallableIface *proxy, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1615s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1615s # * @arg_an_b: Argument to pass with the method invocation. 1615s # * @arg_an_y: Argument to pass with the method invocation. 1615s # * @arg_an_n: Argument to pass with the method invocation. 1615s # * @arg_an_q: Argument to pass with the method invocation. 1615s # * @arg_an_i: Argument to pass with the method invocation. 1615s # * @arg_an_u: Argument to pass with the method invocation. 1615s # * @arg_an_x: Argument to pass with the method invocation. 1615s # * @arg_an_t: Argument to pass with the method invocation. 1615s # * @arg_an_d: Argument to pass with the method invocation. 1615s # * @arg_an_s: Argument to pass with the method invocation. 1615s # * @arg_an_o: Argument to pass with the method invocation. 1615s # * @arg_an_g: Argument to pass with the method invocation. 1615s # * @arg_an_h: Argument to pass with the method invocation. 1615s # * @arg_an_ay: Argument to pass with the method invocation. 1615s # * @arg_an_as: Argument to pass with the method invocation. 1615s # * @arg_an_ao: Argument to pass with the method invocation. 1615s # * @arg_an_aay: Argument to pass with the method invocation. 1615s # * @arg_an_asv: Argument to pass with the method invocation. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1615s # OrgProjectOtherCallableIface *proxy, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "()"); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_complete_method_with_many_args: 1615s # * @object: A #OrgProjectOtherCallableIface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_other_callable_iface_complete_method_with_many_args ( 1615s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("()")); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIfaceProxy: 1615s # * 1615s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_callable_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherCallableIface * 1615s # org_project_other_callable_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherCallableIface * 1615s # org_project_other_callable_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_callable_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherCallableIface * 1615s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherCallableIface * 1615s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherCallableIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1615s # { 1615s # _org_project_other_callable_iface_skeleton_handle_method_call, 1615s # _org_project_other_callable_iface_skeleton_handle_get_property, 1615s # _org_project_other_callable_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_other_callable_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_callable_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectOtherCallableIface * 1615s # org_project_other_callable_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmplgxqzymp 1615s # /tmp/tmplgxqzymp/tmpk_1qsqof.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplgxqzymp/tmpk_1qsqof.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.CallableIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectCallableIface 1615s # * @title: OrgProjectCallableIface 1615s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for org.project.CallableIface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1615s # { 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1615s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "MethodWithManyArgs", 1615s # NULL, 1615s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-method-with-many-args", 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1615s # { 1615s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.CallableIface", 1615s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-callable-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_callable_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_callable_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_callable_iface_method_marshal_method_with_many_args ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectCallableIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.CallableIface. 1615s # */ 1615s # 1615s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * OrgProjectCallableIface::handle-method-with-many-args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-method-with-many-args", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # org_project_callable_iface_method_marshal_method_with_many_args, 1615s # G_TYPE_BOOLEAN, 1615s # 1, 1615s # G_TYPE_DBUS_METHOD_INVOCATION); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # org_project_callable_iface_call_method_with_many_args ( 1615s # OrgProjectCallableIface *proxy, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args_finish: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_method_with_many_args_finish ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean *out_an_b, 1615s # guchar *out_an_y, 1615s # gint16 *out_an_n, 1615s # guint16 *out_an_q, 1615s # gint *out_an_i, 1615s # guint *out_an_u, 1615s # gint64 *out_an_x, 1615s # guint64 *out_an_t, 1615s # gdouble *out_an_d, 1615s # gchar **out_an_s, 1615s # gchar **out_an_o, 1615s # gchar **out_an_g, 1615s # GVariant **out_an_h, 1615s # gchar **out_an_ay, 1615s # gchar ***out_an_as, 1615s # gchar ***out_an_ao, 1615s # gchar ***out_an_aay, 1615s # GVariant **out_an_asv, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # out_an_b, 1615s # out_an_y, 1615s # out_an_n, 1615s # out_an_q, 1615s # out_an_i, 1615s # out_an_u, 1615s # out_an_x, 1615s # out_an_t, 1615s # out_an_d, 1615s # out_an_s, 1615s # out_an_o, 1615s # out_an_g, 1615s # out_an_h, 1615s # out_an_ay, 1615s # out_an_as, 1615s # out_an_ao, 1615s # out_an_aay, 1615s # out_an_asv); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_call_method_with_many_args_sync: 1615s # * @proxy: A #OrgProjectCallableIfaceProxy. 1615s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1615s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # org_project_callable_iface_call_method_with_many_args_sync ( 1615s # OrgProjectCallableIface *proxy, 1615s # gboolean *out_an_b, 1615s # guchar *out_an_y, 1615s # gint16 *out_an_n, 1615s # guint16 *out_an_q, 1615s # gint *out_an_i, 1615s # guint *out_an_u, 1615s # gint64 *out_an_x, 1615s # guint64 *out_an_t, 1615s # gdouble *out_an_d, 1615s # gchar **out_an_s, 1615s # gchar **out_an_o, 1615s # gchar **out_an_g, 1615s # GVariant **out_an_h, 1615s # gchar **out_an_ay, 1615s # gchar ***out_an_as, 1615s # gchar ***out_an_ao, 1615s # gchar ***out_an_aay, 1615s # GVariant **out_an_asv, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1615s # "MethodWithManyArgs", 1615s # g_variant_new ("()"), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # out_an_b, 1615s # out_an_y, 1615s # out_an_n, 1615s # out_an_q, 1615s # out_an_i, 1615s # out_an_u, 1615s # out_an_x, 1615s # out_an_t, 1615s # out_an_d, 1615s # out_an_s, 1615s # out_an_o, 1615s # out_an_g, 1615s # out_an_h, 1615s # out_an_ay, 1615s # out_an_as, 1615s # out_an_ao, 1615s # out_an_aay, 1615s # out_an_asv); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_complete_method_with_many_args: 1615s # * @object: A #OrgProjectCallableIface. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @an_b: Parameter to return. 1615s # * @an_y: Parameter to return. 1615s # * @an_n: Parameter to return. 1615s # * @an_q: Parameter to return. 1615s # * @an_i: Parameter to return. 1615s # * @an_u: Parameter to return. 1615s # * @an_x: Parameter to return. 1615s # * @an_t: Parameter to return. 1615s # * @an_d: Parameter to return. 1615s # * @an_s: Parameter to return. 1615s # * @an_o: Parameter to return. 1615s # * @an_g: Parameter to return. 1615s # * @an_h: Parameter to return. 1615s # * @an_ay: Parameter to return. 1615s # * @an_as: Parameter to return. 1615s # * @an_ao: Parameter to return. 1615s # * @an_aay: Parameter to return. 1615s # * @an_asv: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # org_project_callable_iface_complete_method_with_many_args ( 1615s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # gboolean an_b, 1615s # guchar an_y, 1615s # gint16 an_n, 1615s # guint16 an_q, 1615s # gint an_i, 1615s # guint an_u, 1615s # gint64 an_x, 1615s # guint64 an_t, 1615s # gdouble an_d, 1615s # const gchar *an_s, 1615s # const gchar *an_o, 1615s # const gchar *an_g, 1615s # GVariant *an_h, 1615s # const gchar *an_ay, 1615s # const gchar *const *an_as, 1615s # const gchar *const *an_ao, 1615s # const gchar *const *an_aay, 1615s # GVariant *an_asv) 1615s # { 1615s # g_dbus_method_invocation_return_value (invocation, 1615s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # an_b, 1615s # an_y, 1615s # an_n, 1615s # an_q, 1615s # an_i, 1615s # an_u, 1615s # an_x, 1615s # an_t, 1615s # an_d, 1615s # an_s, 1615s # an_o, 1615s # an_g, 1615s # an_h, 1615s # an_ay, 1615s # an_as, 1615s # an_ao, 1615s # an_aay, 1615s # an_asv)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceProxy: 1615s # * 1615s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectCallableIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectCallableIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_callable_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_callable_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_callable_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectCallableIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectCallableIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_callable_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_callable_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_callable_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1615s # { 1615s # _org_project_callable_iface_skeleton_handle_method_call, 1615s # _org_project_callable_iface_skeleton_handle_get_property, 1615s # _org_project_callable_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_callable_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_callable_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_callable_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectCallableIface * 1615s # org_project_callable_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpmeaicrln 1615s # /tmp/tmpmeaicrln/tmp8ma4y9vq.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeaicrln/tmp8ma4y9vq.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1615s # (void *data1, 1615s # GDBusMethodInvocation *arg_method_invocation, 1615s # GUnixFDList *arg_fd_list, 1615s # const gchar *arg_greeting, 1615s # void *data2); 1615s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # gboolean v_return; 1615s # 1615s # g_return_if_fail (return_value != NULL); 1615s # g_return_if_fail (n_param_values == 4); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # v_return = 1615s # callback (data1, 1615s # g_marshal_value_peek_object (param_values + 1), 1615s # g_marshal_value_peek_object (param_values + 2), 1615s # g_marshal_value_peek_string (param_values + 3), 1615s # data2); 1615s # 1615s # g_value_set_boolean (return_value, v_return); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface test.FDPassing 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:TestFDPassing 1615s # * @title: TestFDPassing 1615s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1615s # * 1615s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1615s # */ 1615s # 1615s # /* ---- Introspection data for test.FDPassing ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "greeting", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1615s # { 1615s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "response", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1615s # { 1615s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "HelloFD", 1615s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1615s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "handle-hello-fd", 1615s # TRUE 1615s # }; 1615s # 1615s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1615s # { 1615s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "test.FDPassing", 1615s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1615s # NULL, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "test-fdpassing", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * test_fdpassing_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # test_fdpassing_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # test_fdpassing_method_marshal_hello_fd ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * TestFDPassing: 1615s # * 1615s # * Abstract interface type for the D-Bus interface test.FDPassing. 1615s # */ 1615s # 1615s # /** 1615s # * TestFDPassingIface: 1615s # * @parent_iface: The parent interface. 1615s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1615s # * 1615s # * Virtual table for the D-Bus interface test.FDPassing. 1615s # */ 1615s # 1615s # typedef TestFDPassingIface TestFDPassingInterface; 1615s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # test_fdpassing_default_init (TestFDPassingIface *iface) 1615s # { 1615s # /* GObject signals for incoming D-Bus method calls: */ 1615s # /** 1615s # * TestFDPassing::handle-hello-fd: 1615s # * @object: A #TestFDPassing. 1615s # * @invocation: A #GDBusMethodInvocation. 1615s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1615s # * @arg_greeting: Argument passed by remote caller. 1615s # * 1615s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1615s # * 1615s # * 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. 1615s # * 1615s # * 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. 1615s # */ 1615s # g_signal_new ("handle-hello-fd", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1615s # g_signal_accumulator_true_handled, 1615s # NULL, 1615s # test_fdpassing_method_marshal_hello_fd, 1615s # G_TYPE_BOOLEAN, 1615s # 3, 1615s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_call_hello_fd: 1615s # * @proxy: A #TestFDPassingProxy. 1615s # * @arg_greeting: Argument to pass with the method invocation. 1615s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1615s # * 1615s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1615s # */ 1615s # void 1615s # test_fdpassing_call_hello_fd ( 1615s # TestFDPassing *proxy, 1615s # const gchar *arg_greeting, 1615s # GUnixFDList *fd_list, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1615s # "HelloFD", 1615s # g_variant_new ("(s)", 1615s # arg_greeting), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # fd_list, 1615s # cancellable, 1615s # callback, 1615s # user_data); 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_call_hello_fd_finish: 1615s # * @proxy: A #TestFDPassingProxy. 1615s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # test_fdpassing_call_hello_fd_finish ( 1615s # TestFDPassing *proxy, 1615s # gchar **out_response, 1615s # GUnixFDList **out_fd_list, 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(s)", 1615s # out_response); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_call_hello_fd_sync: 1615s # * @proxy: A #TestFDPassingProxy. 1615s # * @arg_greeting: Argument to pass with the method invocation. 1615s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1615s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1615s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL. 1615s # * 1615s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1615s # * 1615s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1615s # * 1615s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1615s # */ 1615s # gboolean 1615s # test_fdpassing_call_hello_fd_sync ( 1615s # TestFDPassing *proxy, 1615s # const gchar *arg_greeting, 1615s # GUnixFDList *fd_list, 1615s # gchar **out_response, 1615s # GUnixFDList **out_fd_list, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GVariant *_ret; 1615s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1615s # "HelloFD", 1615s # g_variant_new ("(s)", 1615s # arg_greeting), 1615s # G_DBUS_CALL_FLAGS_NONE, 1615s # -1, 1615s # fd_list, 1615s # out_fd_list, 1615s # cancellable, 1615s # error); 1615s # if (_ret == NULL) 1615s # goto _out; 1615s # g_variant_get (_ret, 1615s # "(s)", 1615s # out_response); 1615s # g_variant_unref (_ret); 1615s # _out: 1615s # return _ret != NULL; 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_complete_hello_fd: 1615s # * @object: A #TestFDPassing. 1615s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1615s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1615s # * @response: Parameter to return. 1615s # * 1615s # * 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. 1615s # * 1615s # * This method will free @invocation, you cannot use it afterwards. 1615s # */ 1615s # void 1615s # test_fdpassing_complete_hello_fd ( 1615s # TestFDPassing *object G_GNUC_UNUSED, 1615s # GDBusMethodInvocation *invocation, 1615s # GUnixFDList *fd_list, 1615s # const gchar *response) 1615s # { 1615s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1615s # g_variant_new ("(s)", 1615s # response), 1615s # fd_list); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * TestFDPassingProxy: 1615s # * 1615s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * TestFDPassingProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #TestFDPassingProxy. 1615s # */ 1615s # 1615s # struct _TestFDPassingProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (TestFDPassingProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # test_fdpassing_proxy_finalize (GObject *object) 1615s # { 1615s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1615s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1615s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1615s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # test_fdpassing_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with test_fdpassing_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # TestFDPassing * 1615s # test_fdpassing_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return TEST_FDPASSING (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # TestFDPassing * 1615s # test_fdpassing_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return TEST_FDPASSING (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # test_fdpassing_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # TestFDPassing * 1615s # test_fdpassing_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return TEST_FDPASSING (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # TestFDPassing * 1615s # test_fdpassing_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return TEST_FDPASSING (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * TestFDPassingSkeleton: 1615s # * 1615s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * TestFDPassingSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #TestFDPassingSkeleton. 1615s # */ 1615s # 1615s # struct _TestFDPassingSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _test_fdpassing_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _test_fdpassing_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _test_fdpassing_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1615s # { 1615s # _test_fdpassing_skeleton_handle_method_call, 1615s # _test_fdpassing_skeleton_handle_get_property, 1615s # _test_fdpassing_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return test_fdpassing_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # test_fdpassing_skeleton_finalize (GObject *object) 1615s # { 1615s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * test_fdpassing_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1615s # * 1615s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1615s # */ 1615s # TestFDPassing * 1615s # test_fdpassing_skeleton_new (void) 1615s # { 1615s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 15 __main__.TestCodegen.test_generate_rst 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmp_g62cyxe 1615s # /tmp/tmp_g62cyxe/tmpfhk5jzct.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_g62cyxe/tmpfhk5jzct.xml', '--generate-rst', 'test'] 1615s # Return code: 0 1615s # Output: 1615s # 1615s # Error: 1615s ok 16 __main__.TestCodegen.test_generate_rst_method 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpatnl8o3x 1615s # /tmp/tmpatnl8o3x/tmp6y7iog23.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpatnl8o3x/tmp6y7iog23.xml', '--generate-rst', 'test'] 1615s # Return code: 0 1615s # Output: 1615s # 1615s # Error: 1615s ok 17 __main__.TestCodegen.test_generate_rst_property 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmp907tao6a 1615s # /tmp/tmp907tao6a/tmpx3f76sd8.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp907tao6a/tmpx3f76sd8.xml', '--generate-rst', 'test'] 1615s # Return code: 0 1615s # Output: 1615s # 1615s # Error: 1615s ok 18 __main__.TestCodegen.test_generate_rst_signal 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmp2h1pjha6 1615s # /tmp/tmp2h1pjha6/tmp1avg37bn.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2h1pjha6/tmp1avg37bn.xml', '--generate-rst', 'test'] 1615s # Return code: 0 1615s # Output: 1615s # 1615s # Error: 1615s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpvurg8s9h 1615s # /tmp/tmpvurg8s9h/tmprt041nio.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvurg8s9h/tmprt041nio.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1615s # GClosure *closure, 1615s # GValue *return_value G_GNUC_UNUSED, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1615s # (void *data1, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv, 1615s # void *data2); 1615s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # 1615s # g_return_if_fail (n_param_values == 19); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # callback (data1, 1615s # g_marshal_value_peek_boolean (param_values + 1), 1615s # g_marshal_value_peek_uchar (param_values + 2), 1615s # g_marshal_value_peek_int (param_values + 3), 1615s # g_marshal_value_peek_uint (param_values + 4), 1615s # g_marshal_value_peek_int (param_values + 5), 1615s # g_marshal_value_peek_uint (param_values + 6), 1615s # g_marshal_value_peek_int64 (param_values + 7), 1615s # g_marshal_value_peek_uint64 (param_values + 8), 1615s # g_marshal_value_peek_double (param_values + 9), 1615s # g_marshal_value_peek_string (param_values + 10), 1615s # g_marshal_value_peek_string (param_values + 11), 1615s # g_marshal_value_peek_string (param_values + 12), 1615s # g_marshal_value_peek_variant (param_values + 13), 1615s # g_marshal_value_peek_string (param_values + 14), 1615s # g_marshal_value_peek_boxed (param_values + 15), 1615s # g_marshal_value_peek_boxed (param_values + 16), 1615s # g_marshal_value_peek_boxed (param_values + 17), 1615s # g_marshal_value_peek_variant (param_values + 18), 1615s # data2); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.SignalingIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectSignalingIface 1615s # * @title: OrgProjectSignalingIface 1615s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SignalWithManyArgs", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "signal-with-many-args" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.SignalingIface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-signaling-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_signaling_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectSignalingIface::signal-with-many-args: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_b: Argument. 1615s # * @arg_an_y: Argument. 1615s # * @arg_an_n: Argument. 1615s # * @arg_an_q: Argument. 1615s # * @arg_an_i: Argument. 1615s # * @arg_an_u: Argument. 1615s # * @arg_an_x: Argument. 1615s # * @arg_an_t: Argument. 1615s # * @arg_an_d: Argument. 1615s # * @arg_an_s: Argument. 1615s # * @arg_an_o: Argument. 1615s # * @arg_an_g: Argument. 1615s # * @arg_an_h: Argument. 1615s # * @arg_an_ay: Argument. 1615s # * @arg_an_as: Argument. 1615s # * @arg_an_ao: Argument. 1615s # * @arg_an_aay: Argument. 1615s # * @arg_an_asv: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1615s # g_signal_new ("signal-with-many-args", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1615s # G_TYPE_NONE, 1615s # 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); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_signal_with_many_args: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_b: Argument to pass with the signal. 1615s # * @arg_an_y: Argument to pass with the signal. 1615s # * @arg_an_n: Argument to pass with the signal. 1615s # * @arg_an_q: Argument to pass with the signal. 1615s # * @arg_an_i: Argument to pass with the signal. 1615s # * @arg_an_u: Argument to pass with the signal. 1615s # * @arg_an_x: Argument to pass with the signal. 1615s # * @arg_an_t: Argument to pass with the signal. 1615s # * @arg_an_d: Argument to pass with the signal. 1615s # * @arg_an_s: Argument to pass with the signal. 1615s # * @arg_an_o: Argument to pass with the signal. 1615s # * @arg_an_g: Argument to pass with the signal. 1615s # * @arg_an_h: Argument to pass with the signal. 1615s # * @arg_an_ay: Argument to pass with the signal. 1615s # * @arg_an_as: Argument to pass with the signal. 1615s # * @arg_an_ao: Argument to pass with the signal. 1615s # * @arg_an_aay: Argument to pass with the signal. 1615s # * @arg_an_asv: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SignalWithManyArgs" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_signal_with_many_args ( 1615s # OrgProjectSignalingIface *object, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxy: 1615s # * 1615s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_signaling_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_signaling_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_signaling_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1615s # { 1615s # _org_project_signaling_iface_skeleton_handle_method_call, 1615s # _org_project_signaling_iface_skeleton_handle_get_property, 1615s # _org_project_signaling_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_signaling_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1615s # OrgProjectSignalingIface *object, 1615s # gboolean arg_an_b, 1615s # guchar arg_an_y, 1615s # gint16 arg_an_n, 1615s # guint16 arg_an_q, 1615s # gint arg_an_i, 1615s # guint arg_an_u, 1615s # gint64 arg_an_x, 1615s # guint64 arg_an_t, 1615s # gdouble arg_an_d, 1615s # const gchar *arg_an_s, 1615s # const gchar *arg_an_o, 1615s # const gchar *arg_an_g, 1615s # GVariant *arg_an_h, 1615s # const gchar *arg_an_ay, 1615s # const gchar *const *arg_an_as, 1615s # const gchar *const *arg_an_ao, 1615s # const gchar *const *arg_an_aay, 1615s # GVariant *arg_an_asv) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1615s # arg_an_b, 1615s # arg_an_y, 1615s # arg_an_n, 1615s # arg_an_q, 1615s # arg_an_i, 1615s # arg_an_u, 1615s # arg_an_x, 1615s # arg_an_t, 1615s # arg_an_d, 1615s # arg_an_s, 1615s # arg_an_o, 1615s # arg_an_g, 1615s # arg_an_h, 1615s # arg_an_ay, 1615s # arg_an_as, 1615s # arg_an_ao, 1615s # arg_an_aay, 1615s # arg_an_asv)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpgbq4hcuw 1615s # /tmp/tmpgbq4hcuw/tmpkag99l9h.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgbq4hcuw/tmpkag99l9h.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_VOID__INT64 ( 1615s # GClosure *closure, 1615s # GValue *return_value G_GNUC_UNUSED, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1615s # (void *data1, 1615s # gint64 arg_an_x, 1615s # void *data2); 1615s # _GDbusCodegenMarshalVoid_Int64Func callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # callback (data1, 1615s # g_marshal_value_peek_int64 (param_values + 1), 1615s # data2); 1615s # } 1615s # 1615s # static void 1615s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1615s # GClosure *closure, 1615s # GValue *return_value G_GNUC_UNUSED, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint G_GNUC_UNUSED, 1615s # void *marshal_data) 1615s # { 1615s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1615s # (void *data1, 1615s # guint64 arg_an_t, 1615s # void *data2); 1615s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1615s # GCClosure *cc = (GCClosure*) closure; 1615s # void *data1, *data2; 1615s # 1615s # g_return_if_fail (n_param_values == 2); 1615s # 1615s # if (G_CCLOSURE_SWAP_DATA (closure)) 1615s # { 1615s # data1 = closure->data; 1615s # data2 = g_value_peek_pointer (param_values + 0); 1615s # } 1615s # else 1615s # { 1615s # data1 = g_value_peek_pointer (param_values + 0); 1615s # data2 = closure->data; 1615s # } 1615s # 1615s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1615s # (marshal_data ? marshal_data : cc->callback); 1615s # 1615s # callback (data1, 1615s # g_marshal_value_peek_uint64 (param_values + 1), 1615s # data2); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.SignalingIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectSignalingIface 1615s # * @title: OrgProjectSignalingIface 1615s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1615s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "NoArgSignal", 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "no-arg-signal" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_b", 1615s # (gchar *) "b", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalB", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-b" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_y", 1615s # (gchar *) "y", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalY", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-y" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_n", 1615s # (gchar *) "n", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalN", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-n" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_q", 1615s # (gchar *) "q", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalQ", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-q" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_i", 1615s # (gchar *) "i", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalI", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-i" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_u", 1615s # (gchar *) "u", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalU", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-u" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_x", 1615s # (gchar *) "x", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalX", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-x" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_t", 1615s # (gchar *) "t", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalT", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-t" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_d", 1615s # (gchar *) "d", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalD", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-d" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_s", 1615s # (gchar *) "s", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalS", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-s" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_o", 1615s # (gchar *) "o", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalO", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-o" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_g", 1615s # (gchar *) "g", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalG", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-g" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_h", 1615s # (gchar *) "h", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalH", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-h" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ay", 1615s # (gchar *) "ay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalAY", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-ay" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_as", 1615s # (gchar *) "as", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalAS", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-as" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_ao", 1615s # (gchar *) "ao", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalAO", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-ao" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_aay", 1615s # (gchar *) "aay", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalAAY", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-aay" 1615s # }; 1615s # 1615s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "an_asv", 1615s # (gchar *) "a{sv}", 1615s # NULL 1615s # }, 1615s # FALSE 1615s # }; 1615s # 1615s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SingleArgSignalASV", 1615s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1615s # NULL 1615s # }, 1615s # "single-arg-signal-asv" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1615s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.SignalingIface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-signaling-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_signaling_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VOID (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__UCHAR (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__INT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__UINT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__INT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__UINT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__DOUBLE (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__STRING (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__STRING (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__STRING (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VARIANT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__STRING (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__BOXED (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__BOXED (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__BOXED (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VARIANT (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1615s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1615s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1615s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1615s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1615s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1615s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1615s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1615s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1615s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1615s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1615s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1615s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1615s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1615s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1615s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1615s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1615s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1615s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectSignalingIface::no-arg-signal: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1615s # g_signal_new ("no-arg-signal", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1615s # G_TYPE_NONE, 1615s # 0); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-b: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_b: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1615s # g_signal_new ("single-arg-signal-b", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_BOOLEAN); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-y: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_y: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1615s # g_signal_new ("single-arg-signal-y", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_UCHAR); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-n: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_n: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1615s # g_signal_new ("single-arg-signal-n", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_INT); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-q: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_q: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1615s # g_signal_new ("single-arg-signal-q", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_UINT); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-i: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_i: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1615s # g_signal_new ("single-arg-signal-i", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_INT); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-u: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_u: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1615s # g_signal_new ("single-arg-signal-u", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_UINT); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-x: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_x: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1615s # g_signal_new ("single-arg-signal-x", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_INT64); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-t: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_t: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1615s # g_signal_new ("single-arg-signal-t", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_UINT64); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-d: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_d: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1615s # g_signal_new ("single-arg-signal-d", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_DOUBLE); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-s: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_s: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1615s # g_signal_new ("single-arg-signal-s", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRING); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-o: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_o: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1615s # g_signal_new ("single-arg-signal-o", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRING); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-g: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_g: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1615s # g_signal_new ("single-arg-signal-g", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRING); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-h: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_h: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1615s # g_signal_new ("single-arg-signal-h", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_VARIANT); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-ay: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_ay: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1615s # g_signal_new ("single-arg-signal-ay", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRING); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-as: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_as: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1615s # g_signal_new ("single-arg-signal-as", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRV); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-ao: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_ao: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1615s # g_signal_new ("single-arg-signal-ao", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRV); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-aay: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_aay: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1615s # g_signal_new ("single-arg-signal-aay", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_STRV); 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface::single-arg-signal-asv: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_asv: Argument. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1615s # g_signal_new ("single-arg-signal-asv", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1615s # G_TYPE_NONE, 1615s # 1, G_TYPE_VARIANT); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_no_arg_signal: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * 1615s # * Emits the "NoArgSignal" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_no_arg_signal ( 1615s # OrgProjectSignalingIface *object) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_b: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_b: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalB" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_b ( 1615s # OrgProjectSignalingIface *object, 1615s # gboolean arg_an_b) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_y: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_y: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalY" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_y ( 1615s # OrgProjectSignalingIface *object, 1615s # guchar arg_an_y) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_n: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_n: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalN" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_n ( 1615s # OrgProjectSignalingIface *object, 1615s # gint16 arg_an_n) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_q: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_q: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalQ" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_q ( 1615s # OrgProjectSignalingIface *object, 1615s # guint16 arg_an_q) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_i: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_i: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalI" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_i ( 1615s # OrgProjectSignalingIface *object, 1615s # gint arg_an_i) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_u: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_u: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalU" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_u ( 1615s # OrgProjectSignalingIface *object, 1615s # guint arg_an_u) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_x: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_x: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalX" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_x ( 1615s # OrgProjectSignalingIface *object, 1615s # gint64 arg_an_x) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_t: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_t: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalT" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_t ( 1615s # OrgProjectSignalingIface *object, 1615s # guint64 arg_an_t) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_d: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_d: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalD" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_d ( 1615s # OrgProjectSignalingIface *object, 1615s # gdouble arg_an_d) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_s: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_s: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalS" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_s ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_s) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_o: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_o: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalO" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_o ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_o) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_g: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_g: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalG" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_g ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_g) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_h: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_h: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalH" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_h ( 1615s # OrgProjectSignalingIface *object, 1615s # GVariant *arg_an_h) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_ay: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalAY" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_ay) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_as: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_as: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalAS" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_as ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_as) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_ao: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalAO" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_ao) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_aay: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_aay) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * @arg_an_asv: Argument to pass with the signal. 1615s # * 1615s # * Emits the "SingleArgSignalASV" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1615s # OrgProjectSignalingIface *object, 1615s # GVariant *arg_an_asv) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxy: 1615s # * 1615s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_signaling_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_signaling_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_signaling_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1615s # { 1615s # _org_project_signaling_iface_skeleton_handle_method_call, 1615s # _org_project_signaling_iface_skeleton_handle_get_property, 1615s # _org_project_signaling_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_signaling_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1615s # OrgProjectSignalingIface *object) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1615s # OrgProjectSignalingIface *object, 1615s # gboolean arg_an_b) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1615s # arg_an_b)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1615s # OrgProjectSignalingIface *object, 1615s # guchar arg_an_y) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1615s # arg_an_y)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1615s # OrgProjectSignalingIface *object, 1615s # gint16 arg_an_n) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1615s # arg_an_n)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1615s # OrgProjectSignalingIface *object, 1615s # guint16 arg_an_q) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1615s # arg_an_q)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1615s # OrgProjectSignalingIface *object, 1615s # gint arg_an_i) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1615s # arg_an_i)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1615s # OrgProjectSignalingIface *object, 1615s # guint arg_an_u) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1615s # arg_an_u)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1615s # OrgProjectSignalingIface *object, 1615s # gint64 arg_an_x) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1615s # arg_an_x)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1615s # OrgProjectSignalingIface *object, 1615s # guint64 arg_an_t) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1615s # arg_an_t)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1615s # OrgProjectSignalingIface *object, 1615s # gdouble arg_an_d) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1615s # arg_an_d)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_s) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1615s # arg_an_s)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_o) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1615s # arg_an_o)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_g) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1615s # arg_an_g)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1615s # OrgProjectSignalingIface *object, 1615s # GVariant *arg_an_h) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1615s # arg_an_h)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *arg_an_ay) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1615s # arg_an_ay)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_as) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1615s # arg_an_as)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_ao) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1615s # arg_an_ao)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1615s # OrgProjectSignalingIface *object, 1615s # const gchar *const *arg_an_aay) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1615s # arg_an_aay)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1615s # OrgProjectSignalingIface *object, 1615s # GVariant *arg_an_asv) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1615s # arg_an_asv)); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1615s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1615s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1615s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1615s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1615s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1615s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1615s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1615s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1615s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1615s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1615s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1615s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1615s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1615s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1615s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1615s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1615s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1615s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpku_ipkoy 1615s # /tmp/tmpku_ipkoy/tmpmg5r7e91.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpku_ipkoy/tmpmg5r7e91.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.UsefulInterface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectUsefulInterface 1615s # * @title: OrgProjectUsefulInterface 1615s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SimpleSignal", 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "simple-signal" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.UsefulInterface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-useful-interface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_useful_interface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_useful_interface_signal_marshal_simple_signal ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VOID (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1615s # */ 1615s # 1615s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectUsefulInterface::simple-signal: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1615s # g_signal_new ("simple-signal", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1615s # NULL, 1615s # NULL, 1615s # org_project_useful_interface_signal_marshal_simple_signal, 1615s # G_TYPE_NONE, 1615s # 0); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_emit_simple_signal: 1615s # * @object: A #OrgProjectUsefulInterface. 1615s # * 1615s # * Emits the "SimpleSignal" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_useful_interface_emit_simple_signal ( 1615s # OrgProjectUsefulInterface *object) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxy: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1615s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1615s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_useful_interface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # g_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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeleton: 1615s # * 1615s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectUsefulInterfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_useful_interface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_useful_interface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_useful_interface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1615s # { 1615s # _org_project_useful_interface_skeleton_handle_method_call, 1615s # _org_project_useful_interface_skeleton_handle_get_property, 1615s # _org_project_useful_interface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_useful_interface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_useful_interface_on_signal_simple_signal ( 1615s # OrgProjectUsefulInterface *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_useful_interface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1615s # { 1615s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1615s # } 1615s # 1615s # /** 1615s # * org_project_useful_interface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectUsefulInterface * 1615s # org_project_useful_interface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.OtherIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectOtherIface 1615s # * @title: OrgProjectOtherIface 1615s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.OtherIface ---- */ 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SimpleSignal", 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "simple-signal" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.OtherIface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-other-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_other_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_other_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_other_iface_signal_marshal_simple_signal ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VOID (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectOtherIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.OtherIface. 1615s # */ 1615s # 1615s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectOtherIface::simple-signal: 1615s # * @object: A #OrgProjectOtherIface. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1615s # g_signal_new ("simple-signal", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1615s # NULL, 1615s # NULL, 1615s # org_project_other_iface_signal_marshal_simple_signal, 1615s # G_TYPE_NONE, 1615s # 0); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_emit_simple_signal: 1615s # * @object: A #OrgProjectOtherIface. 1615s # * 1615s # * Emits the "SimpleSignal" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_other_iface_emit_simple_signal ( 1615s # OrgProjectOtherIface *object) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherIfaceProxy: 1615s # * 1615s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherIface * 1615s # org_project_other_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherIface * 1615s # org_project_other_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherIface * 1615s # org_project_other_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherIface * 1615s # org_project_other_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_other_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_other_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_other_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1615s # { 1615s # _org_project_other_iface_skeleton_handle_method_call, 1615s # _org_project_other_iface_skeleton_handle_get_property, 1615s # _org_project_other_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_other_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_other_iface_on_signal_simple_signal ( 1615s # OrgProjectOtherIface *object) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1615s # { 1615s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectOtherIface * 1615s # org_project_other_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1615s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1615s # gdbus-codegen: /usr/bin/gdbus-codegen 1615s # tmpdir: /tmp/tmpwcviny5z 1615s # /tmp/tmpwcviny5z/tmpzwrgelli.xml: 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # 1615s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwcviny5z/tmpzwrgelli.xml', '--output', '-', '--body'] 1615s # Return code: 0 1615s # Output: 1615s # /* 1615s # * This file is generated by gdbus-codegen, do not modify it. 1615s # * 1615s # * The license of this code is the same as for the D-Bus interface description 1615s # * it was derived from. Note that it links to GLib, so must comply with the 1615s # * LGPL linking clauses. 1615s # */ 1615s # 1615s # #ifdef HAVE_CONFIG_H 1615s # # include "config.h" 1615s # #endif 1615s # 1615s # #include 1615s # #ifdef G_OS_UNIX 1615s # # include 1615s # #endif 1615s # 1615s # #ifdef G_ENABLE_DEBUG 1615s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1615s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1615s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1615s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1615s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1615s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1615s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1615s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1615s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1615s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1615s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1615s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1615s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1615s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1615s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1615s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1615s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1615s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1615s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1615s # #else /* !G_ENABLE_DEBUG */ 1615s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1615s # * Do not access GValues directly in your code. Instead, use the 1615s # * g_value_get_*() functions 1615s # */ 1615s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1615s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1615s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1615s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1615s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1615s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1615s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1615s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1615s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1615s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1615s # #endif /* !G_ENABLE_DEBUG */ 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusArgInfo parent_struct; 1615s # gboolean use_gvariant; 1615s # } _ExtendedGDBusArgInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusMethodInfo parent_struct; 1615s # const gchar *signal_name; 1615s # gboolean pass_fdlist; 1615s # } _ExtendedGDBusMethodInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusSignalInfo parent_struct; 1615s # const gchar *signal_name; 1615s # } _ExtendedGDBusSignalInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusPropertyInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # guint use_gvariant : 1; 1615s # guint emits_changed_signal : 1; 1615s # } _ExtendedGDBusPropertyInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # GDBusInterfaceInfo parent_struct; 1615s # const gchar *hyphen_name; 1615s # } _ExtendedGDBusInterfaceInfo; 1615s # 1615s # typedef struct 1615s # { 1615s # const _ExtendedGDBusPropertyInfo *info; 1615s # guint prop_id; 1615s # GValue orig_value; /* the value before the change */ 1615s # } ChangedProperty; 1615s # 1615s # static void 1615s # _changed_property_free (ChangedProperty *data) 1615s # { 1615s # g_value_unset (&data->orig_value); 1615s # g_free (data); 1615s # } 1615s # 1615s # static gboolean 1615s # _g_strv_equal0 (gchar **a, gchar **b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # guint n; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # if (g_strv_length (a) != g_strv_length (b)) 1615s # goto out; 1615s # for (n = 0; a[n] != NULL; n++) 1615s # if (g_strcmp0 (a[n], b[n]) != 0) 1615s # goto out; 1615s # ret = TRUE; 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _g_variant_equal0 (GVariant *a, GVariant *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # if (a == NULL && b == NULL) 1615s # { 1615s # ret = TRUE; 1615s # goto out; 1615s # } 1615s # if (a == NULL || b == NULL) 1615s # goto out; 1615s # ret = g_variant_equal (a, b); 1615s # out: 1615s # return ret; 1615s # } 1615s # 1615s # G_GNUC_UNUSED static gboolean 1615s # _g_value_equal (const GValue *a, const GValue *b) 1615s # { 1615s # gboolean ret = FALSE; 1615s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1615s # switch (G_VALUE_TYPE (a)) 1615s # { 1615s # case G_TYPE_BOOLEAN: 1615s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1615s # break; 1615s # case G_TYPE_UCHAR: 1615s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1615s # break; 1615s # case G_TYPE_INT: 1615s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1615s # break; 1615s # case G_TYPE_UINT: 1615s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1615s # break; 1615s # case G_TYPE_INT64: 1615s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1615s # break; 1615s # case G_TYPE_UINT64: 1615s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1615s # break; 1615s # case G_TYPE_DOUBLE: 1615s # { 1615s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1615s # gdouble da = g_value_get_double (a); 1615s # gdouble db = g_value_get_double (b); 1615s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1615s # } 1615s # break; 1615s # case G_TYPE_STRING: 1615s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1615s # break; 1615s # case G_TYPE_VARIANT: 1615s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1615s # break; 1615s # default: 1615s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1615s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1615s # else 1615s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1615s # break; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.SignalingIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectSignalingIface 1615s # * @title: OrgProjectSignalingIface 1615s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SimpleSignal", 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "simple-signal" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.SignalingIface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-signaling-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_signaling_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_signaling_iface_signal_marshal_simple_signal ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VOID (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectSignalingIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1615s # */ 1615s # 1615s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectSignalingIface::simple-signal: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1615s # g_signal_new ("simple-signal", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1615s # NULL, 1615s # NULL, 1615s # org_project_signaling_iface_signal_marshal_simple_signal, 1615s # G_TYPE_NONE, 1615s # 0); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_emit_simple_signal: 1615s # * @object: A #OrgProjectSignalingIface. 1615s # * 1615s # * Emits the "SimpleSignal" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_emit_simple_signal ( 1615s # OrgProjectSignalingIface *object) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxy: 1615s # * 1615s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_signaling_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectSignalingIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_signaling_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_signaling_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_signaling_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1615s # { 1615s # _org_project_signaling_iface_skeleton_handle_method_call, 1615s # _org_project_signaling_iface_skeleton_handle_get_property, 1615s # _org_project_signaling_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_signaling_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_signaling_iface_on_signal_simple_signal ( 1615s # OrgProjectSignalingIface *object) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1615s # { 1615s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1615s # } 1615s # 1615s # /** 1615s # * org_project_signaling_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectSignalingIface * 1615s # org_project_signaling_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ 1615s # * Code for interface org.project.OtherSignalingIface 1615s # * ------------------------------------------------------------------------ 1615s # */ 1615s # 1615s # /** 1615s # * SECTION:OrgProjectOtherSignalingIface 1615s # * @title: OrgProjectOtherSignalingIface 1615s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1615s # * 1615s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1615s # */ 1615s # 1615s # enum 1615s # { 1615s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1615s # }; 1615s # 1615s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1615s # 1615s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1615s # 1615s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "SimpleSignal", 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "simple-signal" 1615s # }; 1615s # 1615s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1615s # { 1615s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1615s # NULL 1615s # }; 1615s # 1615s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1615s # { 1615s # { 1615s # -1, 1615s # (gchar *) "org.project.OtherSignalingIface", 1615s # NULL, 1615s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1615s # NULL, 1615s # NULL 1615s # }, 1615s # "org-project-other-signaling-iface", 1615s # }; 1615s # 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_interface_info: 1615s # * 1615s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1615s # * 1615s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1615s # */ 1615s # GDBusInterfaceInfo * 1615s # org_project_other_signaling_iface_interface_info (void) 1615s # { 1615s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_override_properties: 1615s # * @klass: The class structure for a #GObject derived class. 1615s # * @property_id_begin: The property id to assign to the first overridden property. 1615s # * 1615s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1615s # * The properties are overridden in the order they are defined. 1615s # * 1615s # * Returns: The last property id. 1615s # */ 1615s # guint 1615s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1615s # { 1615s # return property_id_begin - 1; 1615s # } 1615s # 1615s # 1615s # inline static void 1615s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1615s # GClosure *closure, 1615s # GValue *return_value, 1615s # unsigned int n_param_values, 1615s # const GValue *param_values, 1615s # void *invocation_hint, 1615s # void *marshal_data) 1615s # { 1615s # g_cclosure_marshal_VOID__VOID (closure, 1615s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1615s # } 1615s # 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIface: 1615s # * 1615s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIfaceIface: 1615s # * @parent_iface: The parent interface. 1615s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1615s # * 1615s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1615s # */ 1615s # 1615s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1615s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1615s # { 1615s # /* GObject signals for received D-Bus signals: */ 1615s # /** 1615s # * OrgProjectOtherSignalingIface::simple-signal: 1615s # * @object: A #OrgProjectOtherSignalingIface. 1615s # * 1615s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1615s # * 1615s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1615s # */ 1615s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1615s # g_signal_new ("simple-signal", 1615s # G_TYPE_FROM_INTERFACE (iface), 1615s # G_SIGNAL_RUN_LAST, 1615s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1615s # NULL, 1615s # NULL, 1615s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1615s # G_TYPE_NONE, 1615s # 0); 1615s # 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_emit_simple_signal: 1615s # * @object: A #OrgProjectOtherSignalingIface. 1615s # * 1615s # * Emits the "SimpleSignal" D-Bus signal. 1615s # */ 1615s # void 1615s # org_project_other_signaling_iface_emit_simple_signal ( 1615s # OrgProjectOtherSignalingIface *object) 1615s # { 1615s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1615s # } 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIfaceProxy: 1615s # * 1615s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIfaceProxyClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1615s # { 1615s # GData *qdata; 1615s # }; 1615s # 1615s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1615s # g_datalist_clear (&proxy->priv->qdata); 1615s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1615s # guint prop_id G_GNUC_UNUSED, 1615s # const GValue *value G_GNUC_UNUSED, 1615s # GParamSpec *pspec G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1615s # const gchar *sender_name G_GNUC_UNUSED, 1615s # const gchar *signal_name, 1615s # GVariant *parameters) 1615s # { 1615s # _ExtendedGDBusSignalInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # gsize n; 1615s # guint signal_id; 1615s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1615s # if (info == NULL) 1615s # return; 1615s # num_params = g_variant_n_children (parameters); 1615s # paramv = g_new0 (GValue, num_params + 1); 1615s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[0], proxy); 1615s # g_variant_iter_init (&iter, parameters); 1615s # n = 1; 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1615s # g_signal_emitv (paramv, signal_id, 0, NULL); 1615s # for (n = 0; n < num_params + 1; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1615s # GVariant *changed_properties, 1615s # const gchar *const *invalidated_properties) 1615s # { 1615s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1615s # guint n; 1615s # const gchar *key; 1615s # GVariantIter *iter; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # g_variant_get (changed_properties, "a{sv}", &iter); 1615s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1615s # g_datalist_remove_data (&proxy->priv->qdata, key); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # g_variant_iter_free (iter); 1615s # for (n = 0; invalidated_properties[n] != NULL; n++) 1615s # { 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1615s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1615s # if (info != NULL) 1615s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1615s # } 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1615s # #else 1615s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1615s # #endif 1615s # 1615s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusProxyClass *proxy_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1615s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1615s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1615s # 1615s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1615s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1615s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_signaling_iface_proxy_new ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherSignalingIface * 1615s # org_project_other_signaling_iface_proxy_new_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new_sync: 1615s # * @connection: A #GDBusConnection. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherSignalingIface * 1615s # org_project_other_signaling_iface_proxy_new_sync ( 1615s # GDBusConnection *connection, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new_for_bus: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1615s # * @user_data: User data to pass to @callback. 1615s # * 1615s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1615s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1615s # * 1615s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1615s # */ 1615s # void 1615s # org_project_other_signaling_iface_proxy_new_for_bus ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GAsyncReadyCallback callback, 1615s # gpointer user_data) 1615s # { 1615s # 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); 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1615s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherSignalingIface * 1615s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1615s # GAsyncResult *res, 1615s # GError **error) 1615s # { 1615s # GObject *ret; 1615s # GObject *source_object; 1615s # source_object = g_async_result_get_source_object (res); 1615s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1615s # g_object_unref (source_object); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1615s # * @bus_type: A #GBusType. 1615s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1615s # * @name: A bus name (well-known or unique). 1615s # * @object_path: An object path. 1615s # * @cancellable: (nullable): A #GCancellable or %NULL. 1615s # * @error: Return location for error or %NULL 1615s # * 1615s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1615s # * 1615s # * The calling thread is blocked until a reply is received. 1615s # * 1615s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1615s # */ 1615s # OrgProjectOtherSignalingIface * 1615s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1615s # GBusType bus_type, 1615s # GDBusProxyFlags flags, 1615s # const gchar *name, 1615s # const gchar *object_path, 1615s # GCancellable *cancellable, 1615s # GError **error) 1615s # { 1615s # GInitable *ret; 1615s # 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); 1615s # if (ret != NULL) 1615s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1615s # else 1615s # return NULL; 1615s # } 1615s # 1615s # 1615s # /* ------------------------------------------------------------------------ */ 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIfaceSkeleton: 1615s # * 1615s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1615s # */ 1615s # 1615s # /** 1615s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1615s # * @parent_class: The parent class. 1615s # * 1615s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1615s # */ 1615s # 1615s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1615s # { 1615s # GValue *properties; 1615s # GList *changed_properties; 1615s # GSource *changed_properties_idle_source; 1615s # GMainContext *context; 1615s # GMutex lock; 1615s # }; 1615s # 1615s # static void 1615s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name, 1615s # const gchar *method_name, 1615s # GVariant *parameters, 1615s # GDBusMethodInvocation *invocation, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1615s # _ExtendedGDBusMethodInfo *info; 1615s # GVariantIter iter; 1615s # GVariant *child; 1615s # GValue *paramv; 1615s # gsize num_params; 1615s # guint num_extra; 1615s # gsize n; 1615s # guint signal_id; 1615s # GValue return_value = G_VALUE_INIT; 1615s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1615s # g_assert (info != NULL); 1615s # num_params = g_variant_n_children (parameters); 1615s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1615s # n = 0; 1615s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1615s # g_value_set_object (¶mv[n++], skeleton); 1615s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1615s # g_value_set_object (¶mv[n++], invocation); 1615s # if (info->pass_fdlist) 1615s # { 1615s # #ifdef G_OS_UNIX 1615s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1615s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1615s # #else 1615s # g_assert_not_reached (); 1615s # #endif 1615s # } 1615s # g_variant_iter_init (&iter, parameters); 1615s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1615s # { 1615s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1615s # if (arg_info->use_gvariant) 1615s # { 1615s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1615s # g_value_set_variant (¶mv[n], child); 1615s # n++; 1615s # } 1615s # else 1615s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1615s # g_variant_unref (child); 1615s # } 1615s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1615s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1615s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1615s # if (!g_value_get_boolean (&return_value)) 1615s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1615s # g_value_unset (&return_value); 1615s # for (n = 0; n < num_params + num_extra; n++) 1615s # g_value_unset (¶mv[n]); 1615s # g_free (paramv); 1615s # } 1615s # 1615s # static GVariant * 1615s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # GVariant *ret; 1615s # ret = NULL; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # g_value_init (&value, pspec->value_type); 1615s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1615s # g_value_unset (&value); 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static gboolean 1615s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1615s # GDBusConnection *connection G_GNUC_UNUSED, 1615s # const gchar *sender G_GNUC_UNUSED, 1615s # const gchar *object_path G_GNUC_UNUSED, 1615s # const gchar *interface_name G_GNUC_UNUSED, 1615s # const gchar *property_name, 1615s # GVariant *variant, 1615s # GError **error, 1615s # gpointer user_data) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1615s # GValue value = G_VALUE_INIT; 1615s # GParamSpec *pspec; 1615s # _ExtendedGDBusPropertyInfo *info; 1615s # gboolean ret; 1615s # ret = FALSE; 1615s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1615s # g_assert (info != NULL); 1615s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1615s # if (pspec == NULL) 1615s # { 1615s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1615s # } 1615s # else 1615s # { 1615s # if (info->use_gvariant) 1615s # g_value_set_variant (&value, variant); 1615s # else 1615s # g_dbus_gvariant_to_gvalue (variant, &value); 1615s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1615s # g_value_unset (&value); 1615s # ret = TRUE; 1615s # } 1615s # return ret; 1615s # } 1615s # 1615s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1615s # { 1615s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1615s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1615s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1615s # {NULL} 1615s # }; 1615s # 1615s # static GDBusInterfaceInfo * 1615s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return org_project_other_signaling_iface_interface_info (); 1615s # } 1615s # 1615s # static GDBusInterfaceVTable * 1615s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1615s # { 1615s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1615s # } 1615s # 1615s # static GVariant * 1615s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1615s # 1615s # GVariantBuilder builder; 1615s # guint n; 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1615s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #else 1615s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1615s # #endif 1615s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1615s # goto out; 1615s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1615s # { 1615s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1615s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1615s # { 1615s # GVariant *value; 1615s # 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); 1615s # if (value != NULL) 1615s # { 1615s # g_variant_take_ref (value); 1615s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1615s # g_variant_unref (value); 1615s # } 1615s # } 1615s # } 1615s # out: 1615s # return g_variant_builder_end (&builder); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1615s # { 1615s # } 1615s # 1615s # static void 1615s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1615s # OrgProjectOtherSignalingIface *object) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1615s # 1615s # GList *connections, *l; 1615s # GVariant *signal_variant; 1615s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1615s # 1615s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1615s # for (l = connections; l != NULL; l = l->next) 1615s # { 1615s # GDBusConnection *connection = l->data; 1615s # g_dbus_connection_emit_signal (connection, 1615s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1615s # signal_variant, NULL); 1615s # } 1615s # g_variant_unref (signal_variant); 1615s # g_list_free_full (connections, g_object_unref); 1615s # } 1615s # 1615s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #else 1615s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1615s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1615s # 1615s # #endif 1615s # static void 1615s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1615s # { 1615s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1615s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1615s # if (skeleton->priv->changed_properties_idle_source != NULL) 1615s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1615s # g_main_context_unref (skeleton->priv->context); 1615s # g_mutex_clear (&skeleton->priv->lock); 1615s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1615s # { 1615s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1615s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1615s # #else 1615s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1615s # #endif 1615s # 1615s # g_mutex_init (&skeleton->priv->lock); 1615s # skeleton->priv->context = g_main_context_ref_thread_default (); 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1615s # { 1615s # GObjectClass *gobject_class; 1615s # GDBusInterfaceSkeletonClass *skeleton_class; 1615s # 1615s # gobject_class = G_OBJECT_CLASS (klass); 1615s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1615s # 1615s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1615s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1615s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1615s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1615s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1615s # 1615s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1615s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1615s # #endif 1615s # } 1615s # 1615s # static void 1615s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1615s # { 1615s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1615s # } 1615s # 1615s # /** 1615s # * org_project_other_signaling_iface_skeleton_new: 1615s # * 1615s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1615s # * 1615s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1615s # */ 1615s # OrgProjectOtherSignalingIface * 1615s # org_project_other_signaling_iface_skeleton_new (void) 1615s # { 1615s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1615s # } 1615s # Error: 1616s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpvwwvqdj6 1616s # /tmp/tmpvwwvqdj6/tmp7ttn3rsh.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp7ttn3rsh.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_b", 1616s # (gchar *) "b", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalB", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-b" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-b: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_b: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1616s # g_signal_new ("single-arg-signal-b", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_BOOLEAN); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_b: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_b: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalB" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_b ( 1616s # OrgProjectSignalingIface *object, 1616s # gboolean arg_arg_b) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1616s # OrgProjectSignalingIface *object, 1616s # gboolean arg_arg_b) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1616s # arg_arg_b)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp74rikwes.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp74rikwes.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_y", 1616s # (gchar *) "y", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalY", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-y" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__UCHAR (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-y: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_y: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1616s # g_signal_new ("single-arg-signal-y", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_UCHAR); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_y: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_y: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalY" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_y ( 1616s # OrgProjectSignalingIface *object, 1616s # guchar arg_arg_y) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1616s # OrgProjectSignalingIface *object, 1616s # guchar arg_arg_y) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1616s # arg_arg_y)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpb_ciix77.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpb_ciix77.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_n", 1616s # (gchar *) "n", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalN", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-n" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__INT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-n: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_n: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1616s # g_signal_new ("single-arg-signal-n", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_INT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_n: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_n: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalN" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_n ( 1616s # OrgProjectSignalingIface *object, 1616s # gint16 arg_arg_n) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1616s # OrgProjectSignalingIface *object, 1616s # gint16 arg_arg_n) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1616s # arg_arg_n)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp7ilencx4.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp7ilencx4.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_q", 1616s # (gchar *) "q", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalQ", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-q" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__UINT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-q: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_q: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1616s # g_signal_new ("single-arg-signal-q", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_UINT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_q: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_q: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalQ" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_q ( 1616s # OrgProjectSignalingIface *object, 1616s # guint16 arg_arg_q) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1616s # OrgProjectSignalingIface *object, 1616s # guint16 arg_arg_q) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1616s # arg_arg_q)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpjm0mo6y5.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpjm0mo6y5.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_i", 1616s # (gchar *) "i", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalI", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-i" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__INT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-i: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_i: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1616s # g_signal_new ("single-arg-signal-i", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_INT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_i: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_i: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalI" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_i ( 1616s # OrgProjectSignalingIface *object, 1616s # gint arg_arg_i) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1616s # OrgProjectSignalingIface *object, 1616s # gint arg_arg_i) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1616s # arg_arg_i)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp08b13uxu.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp08b13uxu.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_u", 1616s # (gchar *) "u", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalU", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-u" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__UINT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-u: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_u: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1616s # g_signal_new ("single-arg-signal-u", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_UINT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_u: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_u: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalU" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_u ( 1616s # OrgProjectSignalingIface *object, 1616s # guint arg_arg_u) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1616s # OrgProjectSignalingIface *object, 1616s # guint arg_arg_u) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1616s # arg_arg_u)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpjtw0q9lt.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpjtw0q9lt.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static void 1616s # _g_dbus_codegen_marshal_VOID__INT64 ( 1616s # GClosure *closure, 1616s # GValue *return_value G_GNUC_UNUSED, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint G_GNUC_UNUSED, 1616s # void *marshal_data) 1616s # { 1616s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1616s # (void *data1, 1616s # gint64 arg_arg_x, 1616s # void *data2); 1616s # _GDbusCodegenMarshalVoid_Int64Func callback; 1616s # GCClosure *cc = (GCClosure*) closure; 1616s # void *data1, *data2; 1616s # 1616s # g_return_if_fail (n_param_values == 2); 1616s # 1616s # if (G_CCLOSURE_SWAP_DATA (closure)) 1616s # { 1616s # data1 = closure->data; 1616s # data2 = g_value_peek_pointer (param_values + 0); 1616s # } 1616s # else 1616s # { 1616s # data1 = g_value_peek_pointer (param_values + 0); 1616s # data2 = closure->data; 1616s # } 1616s # 1616s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1616s # (marshal_data ? marshal_data : cc->callback); 1616s # 1616s # callback (data1, 1616s # g_marshal_value_peek_int64 (param_values + 1), 1616s # data2); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_x", 1616s # (gchar *) "x", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalX", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-x" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-x: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_x: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1616s # g_signal_new ("single-arg-signal-x", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_INT64); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_x: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_x: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalX" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_x ( 1616s # OrgProjectSignalingIface *object, 1616s # gint64 arg_arg_x) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1616s # OrgProjectSignalingIface *object, 1616s # gint64 arg_arg_x) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1616s # arg_arg_x)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmphlskr6j9.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmphlskr6j9.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static void 1616s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1616s # GClosure *closure, 1616s # GValue *return_value G_GNUC_UNUSED, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint G_GNUC_UNUSED, 1616s # void *marshal_data) 1616s # { 1616s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1616s # (void *data1, 1616s # guint64 arg_arg_t, 1616s # void *data2); 1616s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1616s # GCClosure *cc = (GCClosure*) closure; 1616s # void *data1, *data2; 1616s # 1616s # g_return_if_fail (n_param_values == 2); 1616s # 1616s # if (G_CCLOSURE_SWAP_DATA (closure)) 1616s # { 1616s # data1 = closure->data; 1616s # data2 = g_value_peek_pointer (param_values + 0); 1616s # } 1616s # else 1616s # { 1616s # data1 = g_value_peek_pointer (param_values + 0); 1616s # data2 = closure->data; 1616s # } 1616s # 1616s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1616s # (marshal_data ? marshal_data : cc->callback); 1616s # 1616s # callback (data1, 1616s # g_marshal_value_peek_uint64 (param_values + 1), 1616s # data2); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_t", 1616s # (gchar *) "t", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalT", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-t" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-t: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_t: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1616s # g_signal_new ("single-arg-signal-t", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_UINT64); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_t: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_t: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalT" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_t ( 1616s # OrgProjectSignalingIface *object, 1616s # guint64 arg_arg_t) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1616s # OrgProjectSignalingIface *object, 1616s # guint64 arg_arg_t) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1616s # arg_arg_t)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpizw6k3gv.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpizw6k3gv.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_d", 1616s # (gchar *) "d", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalD", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-d" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__DOUBLE (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-d: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_d: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1616s # g_signal_new ("single-arg-signal-d", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_DOUBLE); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_d: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_d: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalD" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_d ( 1616s # OrgProjectSignalingIface *object, 1616s # gdouble arg_arg_d) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1616s # OrgProjectSignalingIface *object, 1616s # gdouble arg_arg_d) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1616s # arg_arg_d)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpn20cwvsn.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpn20cwvsn.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_s", 1616s # (gchar *) "s", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalS", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-s" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__STRING (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-s: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_s: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1616s # g_signal_new ("single-arg-signal-s", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRING); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_s: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_s: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalS" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_s ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_s) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_s) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1616s # arg_arg_s)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpvq7fohl_.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpvq7fohl_.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_o", 1616s # (gchar *) "o", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalO", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-o" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__STRING (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-o: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_o: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1616s # g_signal_new ("single-arg-signal-o", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRING); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_o: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_o: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalO" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_o ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_o) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_o) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1616s # arg_arg_o)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpmtyoeic0.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpmtyoeic0.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_g", 1616s # (gchar *) "g", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalG", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-g" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__STRING (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-g: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_g: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1616s # g_signal_new ("single-arg-signal-g", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRING); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_g: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_g: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalG" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_g ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_g) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_g) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1616s # arg_arg_g)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp2obkppq5.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp2obkppq5.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_h", 1616s # (gchar *) "h", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalH", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-h" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VARIANT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-h: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_h: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1616s # g_signal_new ("single-arg-signal-h", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_VARIANT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_h: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_h: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalH" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_h ( 1616s # OrgProjectSignalingIface *object, 1616s # GVariant *arg_arg_h) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1616s # OrgProjectSignalingIface *object, 1616s # GVariant *arg_arg_h) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1616s # arg_arg_h)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp39yfbq3y.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp39yfbq3y.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_ay", 1616s # (gchar *) "ay", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalAy", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-ay" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__STRING (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-ay: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_ay: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1616s # g_signal_new ("single-arg-signal-ay", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRING); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_ay: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalAy" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_ay) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *arg_arg_ay) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1616s # arg_arg_ay)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmp5i1bskol.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmp5i1bskol.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_as", 1616s # (gchar *) "as", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalAs", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-as" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__BOXED (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-as: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_as: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1616s # g_signal_new ("single-arg-signal-as", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRV); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_as: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_as: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalAs" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_as ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_as) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_as) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1616s # arg_arg_as)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmpvw05xvkk.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmpvw05xvkk.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_ao", 1616s # (gchar *) "ao", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalAo", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-ao" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__BOXED (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-ao: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_ao: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1616s # g_signal_new ("single-arg-signal-ao", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRV); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_ao: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalAo" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_ao) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_ao) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1616s # arg_arg_ao)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmppaiv15mv.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmppaiv15mv.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_aay", 1616s # (gchar *) "aay", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalAay", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-aay" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__BOXED (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-aay: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_aay: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1616s # g_signal_new ("single-arg-signal-aay", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_STRV); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_aay: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalAay" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_aay) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1616s # OrgProjectSignalingIface *object, 1616s # const gchar *const *arg_arg_aay) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1616s # arg_arg_aay)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s # 1616s # /tmp/tmpvwwvqdj6/tmprbhjd7_6.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwwvqdj6/tmprbhjd7_6.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "arg_asv", 1616s # (gchar *) "a{sv}", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SingleArgSignalAsv", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "single-arg-signal-asv" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VARIANT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::single-arg-signal-asv: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_asv: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1616s # g_signal_new ("single-arg-signal-asv", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1616s # G_TYPE_NONE, 1616s # 1, G_TYPE_VARIANT); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_arg_asv: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1616s # OrgProjectSignalingIface *object, 1616s # GVariant *arg_arg_asv) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1616s # OrgProjectSignalingIface *object, 1616s # GVariant *arg_arg_asv) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1616s # arg_arg_asv)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmppl6ifeyj 1616s # /tmp/tmppl6ifeyj/tmpiyky21ub.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppl6ifeyj/tmpiyky21ub.xml', '--output', '-', '--body'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifdef HAVE_CONFIG_H 1616s # # include "config.h" 1616s # #endif 1616s # 1616s # #include 1616s # #ifdef G_OS_UNIX 1616s # # include 1616s # #endif 1616s # 1616s # #ifdef G_ENABLE_DEBUG 1616s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1616s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1616s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1616s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1616s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1616s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1616s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1616s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1616s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1616s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1616s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1616s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1616s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1616s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1616s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1616s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1616s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1616s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1616s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1616s # #else /* !G_ENABLE_DEBUG */ 1616s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1616s # * Do not access GValues directly in your code. Instead, use the 1616s # * g_value_get_*() functions 1616s # */ 1616s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1616s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1616s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1616s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1616s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1616s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1616s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1616s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1616s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1616s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1616s # #endif /* !G_ENABLE_DEBUG */ 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusArgInfo parent_struct; 1616s # gboolean use_gvariant; 1616s # } _ExtendedGDBusArgInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusMethodInfo parent_struct; 1616s # const gchar *signal_name; 1616s # gboolean pass_fdlist; 1616s # } _ExtendedGDBusMethodInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusSignalInfo parent_struct; 1616s # const gchar *signal_name; 1616s # } _ExtendedGDBusSignalInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusPropertyInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # guint use_gvariant : 1; 1616s # guint emits_changed_signal : 1; 1616s # } _ExtendedGDBusPropertyInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # GDBusInterfaceInfo parent_struct; 1616s # const gchar *hyphen_name; 1616s # } _ExtendedGDBusInterfaceInfo; 1616s # 1616s # typedef struct 1616s # { 1616s # const _ExtendedGDBusPropertyInfo *info; 1616s # guint prop_id; 1616s # GValue orig_value; /* the value before the change */ 1616s # } ChangedProperty; 1616s # 1616s # static void 1616s # _changed_property_free (ChangedProperty *data) 1616s # { 1616s # g_value_unset (&data->orig_value); 1616s # g_free (data); 1616s # } 1616s # 1616s # static gboolean 1616s # _g_strv_equal0 (gchar **a, gchar **b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # guint n; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # if (g_strv_length (a) != g_strv_length (b)) 1616s # goto out; 1616s # for (n = 0; a[n] != NULL; n++) 1616s # if (g_strcmp0 (a[n], b[n]) != 0) 1616s # goto out; 1616s # ret = TRUE; 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _g_variant_equal0 (GVariant *a, GVariant *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # if (a == NULL && b == NULL) 1616s # { 1616s # ret = TRUE; 1616s # goto out; 1616s # } 1616s # if (a == NULL || b == NULL) 1616s # goto out; 1616s # ret = g_variant_equal (a, b); 1616s # out: 1616s # return ret; 1616s # } 1616s # 1616s # G_GNUC_UNUSED static gboolean 1616s # _g_value_equal (const GValue *a, const GValue *b) 1616s # { 1616s # gboolean ret = FALSE; 1616s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1616s # switch (G_VALUE_TYPE (a)) 1616s # { 1616s # case G_TYPE_BOOLEAN: 1616s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1616s # break; 1616s # case G_TYPE_UCHAR: 1616s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1616s # break; 1616s # case G_TYPE_INT: 1616s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1616s # break; 1616s # case G_TYPE_UINT: 1616s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1616s # break; 1616s # case G_TYPE_INT64: 1616s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1616s # break; 1616s # case G_TYPE_UINT64: 1616s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1616s # break; 1616s # case G_TYPE_DOUBLE: 1616s # { 1616s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1616s # gdouble da = g_value_get_double (a); 1616s # gdouble db = g_value_get_double (b); 1616s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1616s # } 1616s # break; 1616s # case G_TYPE_STRING: 1616s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1616s # break; 1616s # case G_TYPE_VARIANT: 1616s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1616s # break; 1616s # default: 1616s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1616s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1616s # else 1616s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1616s # break; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static void 1616s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1616s # GClosure *closure, 1616s # GValue *return_value G_GNUC_UNUSED, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint G_GNUC_UNUSED, 1616s # void *marshal_data) 1616s # { 1616s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1616s # (void *data1, 1616s # gboolean arg_an_b, 1616s # guchar arg_an_y, 1616s # gint16 arg_an_n, 1616s # guint16 arg_an_q, 1616s # gint arg_an_i, 1616s # guint arg_an_u, 1616s # gint64 arg_an_x, 1616s # guint64 arg_an_t, 1616s # gdouble arg_an_d, 1616s # const gchar *arg_an_s, 1616s # const gchar *arg_an_o, 1616s # const gchar *arg_an_g, 1616s # GVariant *arg_an_h, 1616s # const gchar *arg_an_ay, 1616s # const gchar *const *arg_an_as, 1616s # const gchar *const *arg_an_ao, 1616s # const gchar *const *arg_an_aay, 1616s # GVariant *arg_an_asv, 1616s # void *data2); 1616s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1616s # GCClosure *cc = (GCClosure*) closure; 1616s # void *data1, *data2; 1616s # 1616s # g_return_if_fail (n_param_values == 19); 1616s # 1616s # if (G_CCLOSURE_SWAP_DATA (closure)) 1616s # { 1616s # data1 = closure->data; 1616s # data2 = g_value_peek_pointer (param_values + 0); 1616s # } 1616s # else 1616s # { 1616s # data1 = g_value_peek_pointer (param_values + 0); 1616s # data2 = closure->data; 1616s # } 1616s # 1616s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1616s # (marshal_data ? marshal_data : cc->callback); 1616s # 1616s # callback (data1, 1616s # g_marshal_value_peek_boolean (param_values + 1), 1616s # g_marshal_value_peek_uchar (param_values + 2), 1616s # g_marshal_value_peek_int (param_values + 3), 1616s # g_marshal_value_peek_uint (param_values + 4), 1616s # g_marshal_value_peek_int (param_values + 5), 1616s # g_marshal_value_peek_uint (param_values + 6), 1616s # g_marshal_value_peek_int64 (param_values + 7), 1616s # g_marshal_value_peek_uint64 (param_values + 8), 1616s # g_marshal_value_peek_double (param_values + 9), 1616s # g_marshal_value_peek_string (param_values + 10), 1616s # g_marshal_value_peek_string (param_values + 11), 1616s # g_marshal_value_peek_string (param_values + 12), 1616s # g_marshal_value_peek_variant (param_values + 13), 1616s # g_marshal_value_peek_string (param_values + 14), 1616s # g_marshal_value_peek_boxed (param_values + 15), 1616s # g_marshal_value_peek_boxed (param_values + 16), 1616s # g_marshal_value_peek_boxed (param_values + 17), 1616s # g_marshal_value_peek_variant (param_values + 18), 1616s # data2); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ 1616s # * Code for interface org.project.SignalingIface 1616s # * ------------------------------------------------------------------------ 1616s # */ 1616s # 1616s # /** 1616s # * SECTION:OrgProjectSignalingIface 1616s # * @title: OrgProjectSignalingIface 1616s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1616s # * 1616s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1616s # */ 1616s # 1616s # enum 1616s # { 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1616s # }; 1616s # 1616s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1616s # 1616s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SimpleSignal", 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "simple-signal" 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_b", 1616s # (gchar *) "b", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_y", 1616s # (gchar *) "y", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_n", 1616s # (gchar *) "n", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_q", 1616s # (gchar *) "q", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_i", 1616s # (gchar *) "i", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_u", 1616s # (gchar *) "u", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_x", 1616s # (gchar *) "x", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_t", 1616s # (gchar *) "t", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_d", 1616s # (gchar *) "d", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_s", 1616s # (gchar *) "s", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_o", 1616s # (gchar *) "o", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_g", 1616s # (gchar *) "g", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_h", 1616s # (gchar *) "h", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_ay", 1616s # (gchar *) "ay", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_as", 1616s # (gchar *) "as", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_ao", 1616s # (gchar *) "ao", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_aay", 1616s # (gchar *) "aay", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "an_asv", 1616s # (gchar *) "a{sv}", 1616s # NULL 1616s # }, 1616s # FALSE 1616s # }; 1616s # 1616s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "SignalWithManyArgs", 1616s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1616s # NULL 1616s # }, 1616s # "signal-with-many-args" 1616s # }; 1616s # 1616s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1616s # { 1616s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1616s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1616s # NULL 1616s # }; 1616s # 1616s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1616s # { 1616s # { 1616s # -1, 1616s # (gchar *) "org.project.SignalingIface", 1616s # NULL, 1616s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1616s # NULL, 1616s # NULL 1616s # }, 1616s # "org-project-signaling-iface", 1616s # }; 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_interface_info: 1616s # * 1616s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1616s # * 1616s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1616s # */ 1616s # GDBusInterfaceInfo * 1616s # org_project_signaling_iface_interface_info (void) 1616s # { 1616s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_override_properties: 1616s # * @klass: The class structure for a #GObject derived class. 1616s # * @property_id_begin: The property id to assign to the first overridden property. 1616s # * 1616s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1616s # * The properties are overridden in the order they are defined. 1616s # * 1616s # * Returns: The last property id. 1616s # */ 1616s # guint 1616s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1616s # { 1616s # return property_id_begin - 1; 1616s # } 1616s # 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_simple_signal ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # g_cclosure_marshal_VOID__VOID (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # inline static void 1616s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1616s # GClosure *closure, 1616s # GValue *return_value, 1616s # unsigned int n_param_values, 1616s # const GValue *param_values, 1616s # void *invocation_hint, 1616s # void *marshal_data) 1616s # { 1616s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1616s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1616s # } 1616s # 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface: 1616s # * 1616s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceIface: 1616s # * @parent_iface: The parent interface. 1616s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1616s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1616s # * 1616s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1616s # */ 1616s # 1616s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1616s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1616s # 1616s # static void 1616s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # /* GObject signals for received D-Bus signals: */ 1616s # /** 1616s # * OrgProjectSignalingIface::simple-signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1616s # g_signal_new ("simple-signal", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_simple_signal, 1616s # G_TYPE_NONE, 1616s # 0); 1616s # 1616s # /** 1616s # * OrgProjectSignalingIface::signal-with-many-args: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_an_b: Argument. 1616s # * @arg_an_y: Argument. 1616s # * @arg_an_n: Argument. 1616s # * @arg_an_q: Argument. 1616s # * @arg_an_i: Argument. 1616s # * @arg_an_u: Argument. 1616s # * @arg_an_x: Argument. 1616s # * @arg_an_t: Argument. 1616s # * @arg_an_d: Argument. 1616s # * @arg_an_s: Argument. 1616s # * @arg_an_o: Argument. 1616s # * @arg_an_g: Argument. 1616s # * @arg_an_h: Argument. 1616s # * @arg_an_ay: Argument. 1616s # * @arg_an_as: Argument. 1616s # * @arg_an_ao: Argument. 1616s # * @arg_an_aay: Argument. 1616s # * @arg_an_asv: Argument. 1616s # * 1616s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1616s # * 1616s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1616s # */ 1616s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1616s # g_signal_new ("signal-with-many-args", 1616s # G_TYPE_FROM_INTERFACE (iface), 1616s # G_SIGNAL_RUN_LAST, 1616s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1616s # NULL, 1616s # NULL, 1616s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1616s # G_TYPE_NONE, 1616s # 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); 1616s # 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_simple_signal: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * 1616s # * Emits the "SimpleSignal" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_emit_signal_with_many_args: 1616s # * @object: A #OrgProjectSignalingIface. 1616s # * @arg_an_b: Argument to pass with the signal. 1616s # * @arg_an_y: Argument to pass with the signal. 1616s # * @arg_an_n: Argument to pass with the signal. 1616s # * @arg_an_q: Argument to pass with the signal. 1616s # * @arg_an_i: Argument to pass with the signal. 1616s # * @arg_an_u: Argument to pass with the signal. 1616s # * @arg_an_x: Argument to pass with the signal. 1616s # * @arg_an_t: Argument to pass with the signal. 1616s # * @arg_an_d: Argument to pass with the signal. 1616s # * @arg_an_s: Argument to pass with the signal. 1616s # * @arg_an_o: Argument to pass with the signal. 1616s # * @arg_an_g: Argument to pass with the signal. 1616s # * @arg_an_h: Argument to pass with the signal. 1616s # * @arg_an_ay: Argument to pass with the signal. 1616s # * @arg_an_as: Argument to pass with the signal. 1616s # * @arg_an_ao: Argument to pass with the signal. 1616s # * @arg_an_aay: Argument to pass with the signal. 1616s # * @arg_an_asv: Argument to pass with the signal. 1616s # * 1616s # * Emits the "SignalWithManyArgs" D-Bus signal. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_emit_signal_with_many_args ( 1616s # OrgProjectSignalingIface *object, 1616s # gboolean arg_an_b, 1616s # guchar arg_an_y, 1616s # gint16 arg_an_n, 1616s # guint16 arg_an_q, 1616s # gint arg_an_i, 1616s # guint arg_an_u, 1616s # gint64 arg_an_x, 1616s # guint64 arg_an_t, 1616s # gdouble arg_an_d, 1616s # const gchar *arg_an_s, 1616s # const gchar *arg_an_o, 1616s # const gchar *arg_an_g, 1616s # GVariant *arg_an_h, 1616s # const gchar *arg_an_ay, 1616s # const gchar *const *arg_an_as, 1616s # const gchar *const *arg_an_ao, 1616s # const gchar *const *arg_an_aay, 1616s # GVariant *arg_an_asv) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxy: 1616s # * 1616s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceProxyClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceProxy. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceProxyPrivate 1616s # { 1616s # GData *qdata; 1616s # }; 1616s # 1616s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_proxy_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1616s # g_datalist_clear (&proxy->priv->qdata); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1616s # guint prop_id G_GNUC_UNUSED, 1616s # const GValue *value G_GNUC_UNUSED, 1616s # GParamSpec *pspec G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1616s # const gchar *sender_name G_GNUC_UNUSED, 1616s # const gchar *signal_name, 1616s # GVariant *parameters) 1616s # { 1616s # _ExtendedGDBusSignalInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # gsize n; 1616s # guint signal_id; 1616s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1616s # if (info == NULL) 1616s # return; 1616s # num_params = g_variant_n_children (parameters); 1616s # paramv = g_new0 (GValue, num_params + 1); 1616s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[0], proxy); 1616s # g_variant_iter_init (&iter, parameters); 1616s # n = 1; 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_signal_emitv (paramv, signal_id, 0, NULL); 1616s # for (n = 0; n < num_params + 1; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1616s # GVariant *changed_properties, 1616s # const gchar *const *invalidated_properties) 1616s # { 1616s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1616s # guint n; 1616s # const gchar *key; 1616s # GVariantIter *iter; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # g_variant_get (changed_properties, "a{sv}", &iter); 1616s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1616s # g_datalist_remove_data (&proxy->priv->qdata, key); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # g_variant_iter_free (iter); 1616s # for (n = 0; invalidated_properties[n] != NULL; n++) 1616s # { 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1616s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1616s # if (info != NULL) 1616s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1616s # } 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1616s # #else 1616s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1616s # #endif 1616s # 1616s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusProxyClass *proxy_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1616s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1616s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1616s # 1616s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1616s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1616s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_sync: 1616s # * @connection: A #GDBusConnection. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_sync ( 1616s # GDBusConnection *connection, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1616s # * @user_data: User data to pass to @callback. 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1616s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1616s # */ 1616s # void 1616s # org_project_signaling_iface_proxy_new_for_bus ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GAsyncReadyCallback callback, 1616s # gpointer user_data) 1616s # { 1616s # 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); 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1616s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1616s # GAsyncResult *res, 1616s # GError **error) 1616s # { 1616s # GObject *ret; 1616s # GObject *source_object; 1616s # source_object = g_async_result_get_source_object (res); 1616s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1616s # g_object_unref (source_object); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1616s # * @bus_type: A #GBusType. 1616s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1616s # * @name: A bus name (well-known or unique). 1616s # * @object_path: An object path. 1616s # * @cancellable: (nullable): A #GCancellable or %NULL. 1616s # * @error: Return location for error or %NULL 1616s # * 1616s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1616s # * 1616s # * The calling thread is blocked until a reply is received. 1616s # * 1616s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1616s # GBusType bus_type, 1616s # GDBusProxyFlags flags, 1616s # const gchar *name, 1616s # const gchar *object_path, 1616s # GCancellable *cancellable, 1616s # GError **error) 1616s # { 1616s # GInitable *ret; 1616s # 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); 1616s # if (ret != NULL) 1616s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1616s # else 1616s # return NULL; 1616s # } 1616s # 1616s # 1616s # /* ------------------------------------------------------------------------ */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeleton: 1616s # * 1616s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1616s # */ 1616s # 1616s # /** 1616s # * OrgProjectSignalingIfaceSkeletonClass: 1616s # * @parent_class: The parent class. 1616s # * 1616s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1616s # */ 1616s # 1616s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1616s # { 1616s # GValue *properties; 1616s # GList *changed_properties; 1616s # GSource *changed_properties_idle_source; 1616s # GMainContext *context; 1616s # GMutex lock; 1616s # }; 1616s # 1616s # static void 1616s # _org_project_signaling_iface_skeleton_handle_method_call ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name, 1616s # const gchar *method_name, 1616s # GVariant *parameters, 1616s # GDBusMethodInvocation *invocation, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # _ExtendedGDBusMethodInfo *info; 1616s # GVariantIter iter; 1616s # GVariant *child; 1616s # GValue *paramv; 1616s # gsize num_params; 1616s # guint num_extra; 1616s # gsize n; 1616s # guint signal_id; 1616s # GValue return_value = G_VALUE_INIT; 1616s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1616s # g_assert (info != NULL); 1616s # num_params = g_variant_n_children (parameters); 1616s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1616s # n = 0; 1616s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_set_object (¶mv[n++], skeleton); 1616s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1616s # g_value_set_object (¶mv[n++], invocation); 1616s # if (info->pass_fdlist) 1616s # { 1616s # #ifdef G_OS_UNIX 1616s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1616s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1616s # #else 1616s # g_assert_not_reached (); 1616s # #endif 1616s # } 1616s # g_variant_iter_init (&iter, parameters); 1616s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1616s # { 1616s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1616s # if (arg_info->use_gvariant) 1616s # { 1616s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1616s # g_value_set_variant (¶mv[n], child); 1616s # n++; 1616s # } 1616s # else 1616s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1616s # g_variant_unref (child); 1616s # } 1616s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1616s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1616s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1616s # if (!g_value_get_boolean (&return_value)) 1616s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1616s # g_value_unset (&return_value); 1616s # for (n = 0; n < num_params + num_extra; n++) 1616s # g_value_unset (¶mv[n]); 1616s # g_free (paramv); 1616s # } 1616s # 1616s # static GVariant * 1616s # _org_project_signaling_iface_skeleton_handle_get_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # GVariant *ret; 1616s # ret = NULL; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # g_value_init (&value, pspec->value_type); 1616s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1616s # g_value_unset (&value); 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static gboolean 1616s # _org_project_signaling_iface_skeleton_handle_set_property ( 1616s # GDBusConnection *connection G_GNUC_UNUSED, 1616s # const gchar *sender G_GNUC_UNUSED, 1616s # const gchar *object_path G_GNUC_UNUSED, 1616s # const gchar *interface_name G_GNUC_UNUSED, 1616s # const gchar *property_name, 1616s # GVariant *variant, 1616s # GError **error, 1616s # gpointer user_data) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1616s # GValue value = G_VALUE_INIT; 1616s # GParamSpec *pspec; 1616s # _ExtendedGDBusPropertyInfo *info; 1616s # gboolean ret; 1616s # ret = FALSE; 1616s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1616s # g_assert (info != NULL); 1616s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1616s # if (pspec == NULL) 1616s # { 1616s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1616s # } 1616s # else 1616s # { 1616s # if (info->use_gvariant) 1616s # g_value_set_variant (&value, variant); 1616s # else 1616s # g_dbus_gvariant_to_gvalue (variant, &value); 1616s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1616s # g_value_unset (&value); 1616s # ret = TRUE; 1616s # } 1616s # return ret; 1616s # } 1616s # 1616s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1616s # { 1616s # _org_project_signaling_iface_skeleton_handle_method_call, 1616s # _org_project_signaling_iface_skeleton_handle_get_property, 1616s # _org_project_signaling_iface_skeleton_handle_set_property, 1616s # {NULL} 1616s # }; 1616s # 1616s # static GDBusInterfaceInfo * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return org_project_signaling_iface_interface_info (); 1616s # } 1616s # 1616s # static GDBusInterfaceVTable * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1616s # { 1616s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1616s # } 1616s # 1616s # static GVariant * 1616s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1616s # 1616s # GVariantBuilder builder; 1616s # guint n; 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1616s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #else 1616s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1616s # #endif 1616s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1616s # goto out; 1616s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1616s # { 1616s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1616s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1616s # { 1616s # GVariant *value; 1616s # 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); 1616s # if (value != NULL) 1616s # { 1616s # g_variant_take_ref (value); 1616s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1616s # g_variant_unref (value); 1616s # } 1616s # } 1616s # } 1616s # out: 1616s # return g_variant_builder_end (&builder); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1616s # { 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_simple_signal ( 1616s # OrgProjectSignalingIface *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void 1616s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1616s # OrgProjectSignalingIface *object, 1616s # gboolean arg_an_b, 1616s # guchar arg_an_y, 1616s # gint16 arg_an_n, 1616s # guint16 arg_an_q, 1616s # gint arg_an_i, 1616s # guint arg_an_u, 1616s # gint64 arg_an_x, 1616s # guint64 arg_an_t, 1616s # gdouble arg_an_d, 1616s # const gchar *arg_an_s, 1616s # const gchar *arg_an_o, 1616s # const gchar *arg_an_g, 1616s # GVariant *arg_an_h, 1616s # const gchar *arg_an_ay, 1616s # const gchar *const *arg_an_as, 1616s # const gchar *const *arg_an_ao, 1616s # const gchar *const *arg_an_aay, 1616s # GVariant *arg_an_asv) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # 1616s # GList *connections, *l; 1616s # GVariant *signal_variant; 1616s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1616s # 1616s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1616s # arg_an_b, 1616s # arg_an_y, 1616s # arg_an_n, 1616s # arg_an_q, 1616s # arg_an_i, 1616s # arg_an_u, 1616s # arg_an_x, 1616s # arg_an_t, 1616s # arg_an_d, 1616s # arg_an_s, 1616s # arg_an_o, 1616s # arg_an_g, 1616s # arg_an_h, 1616s # arg_an_ay, 1616s # arg_an_as, 1616s # arg_an_ao, 1616s # arg_an_aay, 1616s # arg_an_asv)); 1616s # for (l = connections; l != NULL; l = l->next) 1616s # { 1616s # GDBusConnection *connection = l->data; 1616s # g_dbus_connection_emit_signal (connection, 1616s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1616s # signal_variant, NULL); 1616s # } 1616s # g_variant_unref (signal_variant); 1616s # g_list_free_full (connections, g_object_unref); 1616s # } 1616s # 1616s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #else 1616s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1616s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1616s # 1616s # #endif 1616s # static void 1616s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1616s # { 1616s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1616s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1616s # if (skeleton->priv->changed_properties_idle_source != NULL) 1616s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1616s # g_main_context_unref (skeleton->priv->context); 1616s # g_mutex_clear (&skeleton->priv->lock); 1616s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1616s # { 1616s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1616s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1616s # #else 1616s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1616s # #endif 1616s # 1616s # g_mutex_init (&skeleton->priv->lock); 1616s # skeleton->priv->context = g_main_context_ref_thread_default (); 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1616s # { 1616s # GObjectClass *gobject_class; 1616s # GDBusInterfaceSkeletonClass *skeleton_class; 1616s # 1616s # gobject_class = G_OBJECT_CLASS (klass); 1616s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1616s # 1616s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1616s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1616s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1616s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1616s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1616s # 1616s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1616s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1616s # #endif 1616s # } 1616s # 1616s # static void 1616s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1616s # { 1616s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1616s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1616s # } 1616s # 1616s # /** 1616s # * org_project_signaling_iface_skeleton_new: 1616s # * 1616s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1616s # * 1616s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1616s # */ 1616s # OrgProjectSignalingIface * 1616s # org_project_signaling_iface_skeleton_new (void) 1616s # { 1616s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1616s # } 1616s # Error: 1616s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpm5meyfjh 1616s # /tmp/tmpm5meyfjh/tmpg0ulznzz.xml: 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm5meyfjh/tmpg0ulznzz.xml', '--generate-docbook', 'test'] 1616s # Return code: 0 1616s # Output: 1616s # 1616s # Error: 1616s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmp6kom19f1 1616s # /tmp/tmp6kom19f1/tmpbzyvy_c9.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6kom19f1/tmpbzyvy_c9.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1616s # Return code: 1 1616s # Output: 1616s # 1616s # Error: 1616s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1616s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpnwn5mee9 1616s # /tmp/tmpnwn5mee9/tmpy35nw1sv.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnwn5mee9/tmpy35nw1sv.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifndef __STDOUT__ 1616s # #define __STDOUT__ 1616s # 1616s # #include 1616s # 1616s # G_BEGIN_DECLS 1616s # 1616s # 1616s # G_END_DECLS 1616s # 1616s # #endif /* __STDOUT__ */ 1616s # Error: 1616s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmph0c3bzgy 1616s # /tmp/tmph0c3bzgy/tmpctmv8zxr.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph0c3bzgy/tmpctmv8zxr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1616s # Return code: 1 1616s # Output: 1616s # 1616s # Error: 1616s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1616s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpubpb5ai2 1616s # /tmp/tmpubpb5ai2/tmpzv7_peqq.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubpb5ai2/tmpzv7_peqq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifndef __STDOUT__ 1616s # #define __STDOUT__ 1616s # 1616s # #include 1616s # 1616s # G_BEGIN_DECLS 1616s # 1616s # 1616s # G_END_DECLS 1616s # 1616s # #endif /* __STDOUT__ */ 1616s # Error: 1616s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmp5azwp82l 1616s # /tmp/tmp5azwp82l/tmpyb9ol2lx.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5azwp82l/tmpyb9ol2lx.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifndef __STDOUT__ 1616s # #define __STDOUT__ 1616s # 1616s # #include 1616s # 1616s # G_BEGIN_DECLS 1616s # 1616s # 1616s # G_END_DECLS 1616s # 1616s # #endif /* __STDOUT__ */ 1616s # Error: 1616s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmp8zh_lv00 1616s # /tmp/tmp8zh_lv00/tmpz4a2lsp8.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8zh_lv00/tmpz4a2lsp8.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1616s # Return code: 1 1616s # Output: 1616s # 1616s # Error: 1616s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1616s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpam81_f28 1616s # /tmp/tmpam81_f28/tmpe3z87b0e.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpam81_f28/tmpe3z87b0e.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifndef __STDOUT__ 1616s # #define __STDOUT__ 1616s # 1616s # #include 1616s # 1616s # G_BEGIN_DECLS 1616s # 1616s # 1616s # G_END_DECLS 1616s # 1616s # #endif /* __STDOUT__ */ 1616s # Error: 1616s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpsziivoog 1616s # /tmp/tmpsziivoog/tmpryx21gb1.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsziivoog/tmpryx21gb1.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1616s # Return code: 1 1616s # Output: 1616s # 1616s # Error: 1616s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1616s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1616s # gdbus-codegen: /usr/bin/gdbus-codegen 1616s # tmpdir: /tmp/tmpmclpy28g 1616s # /tmp/tmpmclpy28g/tmpg8y82ul0.xml: 1616s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmclpy28g/tmpg8y82ul0.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1616s # Return code: 0 1616s # Output: 1616s # /* 1616s # * This file is generated by gdbus-codegen, do not modify it. 1616s # * 1616s # * The license of this code is the same as for the D-Bus interface description 1616s # * it was derived from. Note that it links to GLib, so must comply with the 1616s # * LGPL linking clauses. 1616s # */ 1616s # 1616s # #ifndef __STDOUT__ 1616s # #define __STDOUT__ 1616s # 1616s # #include 1616s # 1616s # G_BEGIN_DECLS 1616s # 1616s # 1616s # G_END_DECLS 1616s # 1616s # #endif /* __STDOUT__ */ 1616s # Error: 1617s ok 35 __main__.TestCodegen.test_help 1617s # gdbus-codegen: /usr/bin/gdbus-codegen 1617s # tmpdir: /tmp/tmp_ijwfm_8 1617s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1617s # Return code: 0 1617s # Output: 1617s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1617s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1617s # [--c-generate-autocleanup {none,objects,all}] 1617s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1617s # [--generate-rst OUTFILES] [--pragma-once] 1617s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1617s # [--glib-min-required VERSION] 1617s # [--glib-max-allowed VERSION] 1617s # [--symbol-decorator SYMBOL_DECORATOR] 1617s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1617s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1617s # [--generate-c-code OUTFILES | --header | --body | 1617s # --interface-info-header | --interface-info-body] 1617s # [--output FILE | --output-directory OUTDIR] 1617s # FILE [FILE ...] 1617s # 1617s # D-Bus code and documentation generator 1617s # 1617s # positional arguments: 1617s # FILE D-Bus introspection XML file 1617s # 1617s # options: 1617s # -h, --help show this help message and exit 1617s # --interface-prefix PREFIX 1617s # String to strip from D-Bus interface names for code 1617s # and docs 1617s # --c-namespace NAMESPACE 1617s # The namespace to use for generated C code 1617s # --c-generate-object-manager 1617s # Generate a GDBusObjectManagerClient subclass when 1617s # generating C code 1617s # --c-generate-autocleanup {none,objects,all} 1617s # Generate autocleanup support 1617s # --generate-docbook OUTFILES 1617s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1617s # --generate-md OUTFILES 1617s # Generate Markdown in OUTFILES-org.Project.IFace.md 1617s # --generate-rst OUTFILES 1617s # Generate reStructuredText in OUTFILES- 1617s # org.Project.IFace.rst 1617s # --pragma-once Use "pragma once" as the inclusion guard 1617s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1617s # Add annotation (may be used several times) 1617s # --glib-min-required VERSION 1617s # Minimum version of GLib to be supported by the 1617s # outputted code (default: 2.30) 1617s # --glib-max-allowed VERSION 1617s # Maximum version of GLib to be used by the outputted 1617s # code (default: current GLib version) 1617s # --symbol-decorator SYMBOL_DECORATOR 1617s # Macro used to decorate a symbol in the outputted 1617s # header, possibly to export symbols 1617s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1617s # Additional header required for decorator specified by 1617s # --symbol-decorator 1617s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1617s # Additional define required for decorator specified by 1617s # --symbol-decorator 1617s # --generate-c-code OUTFILES 1617s # Generate C code in OUTFILES.[ch] 1617s # --header Generate C headers 1617s # --body Generate C code 1617s # --interface-info-header 1617s # Generate GDBusInterfaceInfo C header 1617s # --interface-info-body 1617s # Generate GDBusInterfaceInfo C code 1617s # --output FILE Write output into the specified file 1617s # --output-directory OUTDIR 1617s # Location to output generated files 1617s # Error: 1617s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1617s # gdbus-codegen: /usr/bin/gdbus-codegen 1617s # tmpdir: /tmp/tmpcwtjjljm 1617s # /tmp/tmpcwtjjljm/tmpwp3971b3.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcwtjjljm/tmpwp3971b3.xml', '--generate-rst', 'test'] 1617s # Return code: 0 1617s # Output: 1617s # 1617s # Error: 1617s # 1617s # /tmp/tmpcwtjjljm/tmpelulgf6x.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcwtjjljm/tmpelulgf6x.xml', '--generate-md', 'test'] 1617s # Return code: 0 1617s # Output: 1617s # 1617s # Error: 1617s # 1617s # /tmp/tmpcwtjjljm/tmpj_bbv425.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcwtjjljm/tmpj_bbv425.xml', '--generate-docbook', 'test'] 1617s # Return code: 0 1617s # Output: 1617s # 1617s # Error: 1617s ok 37 __main__.TestCodegen.test_no_args 1617s # gdbus-codegen: /usr/bin/gdbus-codegen 1617s # tmpdir: /tmp/tmppgcg63o1 1617s # Running: ['/usr/bin/gdbus-codegen'] 1617s # Return code: 2 1617s # Output: 1617s # 1617s # Error: 1617s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1617s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1617s # [--c-generate-autocleanup {none,objects,all}] 1617s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1617s # [--generate-rst OUTFILES] [--pragma-once] 1617s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1617s # [--glib-min-required VERSION] 1617s # [--glib-max-allowed VERSION] 1617s # [--symbol-decorator SYMBOL_DECORATOR] 1617s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1617s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1617s # [--generate-c-code OUTFILES | --header | --body | 1617s # --interface-info-header | --interface-info-body] 1617s # [--output FILE | --output-directory OUTDIR] 1617s # FILE [FILE ...] 1617s # gdbus-codegen: error: the following arguments are required: FILE 1617s ok 38 __main__.TestCodegen.test_reproducible 1617s # gdbus-codegen: /usr/bin/gdbus-codegen 1617s # tmpdir: /tmp/tmpcxe6o31n 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcxe6o31n/tmp98z81yd_1.xml', '/tmp/tmpcxe6o31n/tmp2y9l3an22.xml', '--output', '-', '--header'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifndef __STDOUT__ 1617s # #define __STDOUT__ 1617s # 1617s # #include 1617s # 1617s # G_BEGIN_DECLS 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for org.project.Bar.Frobnicator */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1617s # 1617s # struct _OrgProjectBarFrobnicator; 1617s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1617s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1617s # 1617s # struct _OrgProjectBarFrobnicatorIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # gboolean (*handle_random_method) ( 1617s # OrgProjectBarFrobnicator *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1617s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void org_project_bar_frobnicator_complete_random_method ( 1617s # OrgProjectBarFrobnicator *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void org_project_bar_frobnicator_call_random_method ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1617s # 1617s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1617s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1617s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void org_project_bar_frobnicator_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1617s # 1617s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1617s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1617s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for com.acme.Coyote */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1617s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1617s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1617s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1617s # 1617s # struct _ComAcmeCoyote; 1617s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1617s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1617s # 1617s # struct _ComAcmeCoyoteIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # 1617s # 1617s # gboolean (*handle_attack) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # gboolean (*handle_run) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # gboolean (*handle_sleep) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1617s # 1617s # void (*surprised) ( 1617s # ComAcmeCoyote *object); 1617s # 1617s # }; 1617s # 1617s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1617s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void com_acme_coyote_complete_run ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # void com_acme_coyote_complete_sleep ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # void com_acme_coyote_complete_attack ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus signal emissions functions: */ 1617s # void com_acme_coyote_emit_surprised ( 1617s # ComAcmeCoyote *object); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void com_acme_coyote_call_run ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_run_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_run_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_call_sleep ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_sleep_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_sleep_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_call_attack ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_attack_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_attack_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* D-Bus property accessors: */ 1617s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1617s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1617s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1617s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1617s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1617s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1617s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1617s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1617s # 1617s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1617s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1617s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1617s # 1617s # struct _ComAcmeCoyoteProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # ComAcmeCoyoteProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _ComAcmeCoyoteProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void com_acme_coyote_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1617s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1617s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1617s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1617s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1617s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1617s # 1617s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1617s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1617s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1617s # 1617s # struct _ComAcmeCoyoteSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # ComAcmeCoyoteSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _ComAcmeCoyoteSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1617s # 1617s # 1617s # G_END_DECLS 1617s # 1617s # #endif /* __STDOUT__ */ 1617s # Error: 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcxe6o31n/tmp2y9l3an22.xml', '/tmp/tmpcxe6o31n/tmp98z81yd_1.xml', '--output', '-', '--header'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifndef __STDOUT__ 1617s # #define __STDOUT__ 1617s # 1617s # #include 1617s # 1617s # G_BEGIN_DECLS 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for org.project.Bar.Frobnicator */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1617s # 1617s # struct _OrgProjectBarFrobnicator; 1617s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1617s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1617s # 1617s # struct _OrgProjectBarFrobnicatorIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # gboolean (*handle_random_method) ( 1617s # OrgProjectBarFrobnicator *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1617s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void org_project_bar_frobnicator_complete_random_method ( 1617s # OrgProjectBarFrobnicator *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void org_project_bar_frobnicator_call_random_method ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1617s # 1617s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1617s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1617s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void org_project_bar_frobnicator_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1617s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1617s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1617s # 1617s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1617s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1617s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for com.acme.Coyote */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1617s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1617s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1617s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1617s # 1617s # struct _ComAcmeCoyote; 1617s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1617s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1617s # 1617s # struct _ComAcmeCoyoteIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # 1617s # 1617s # gboolean (*handle_attack) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # gboolean (*handle_run) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # gboolean (*handle_sleep) ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1617s # 1617s # void (*surprised) ( 1617s # ComAcmeCoyote *object); 1617s # 1617s # }; 1617s # 1617s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1617s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void com_acme_coyote_complete_run ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # void com_acme_coyote_complete_sleep ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # void com_acme_coyote_complete_attack ( 1617s # ComAcmeCoyote *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus signal emissions functions: */ 1617s # void com_acme_coyote_emit_surprised ( 1617s # ComAcmeCoyote *object); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void com_acme_coyote_call_run ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_run_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_run_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_call_sleep ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_sleep_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_sleep_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_call_attack ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean com_acme_coyote_call_attack_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean com_acme_coyote_call_attack_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* D-Bus property accessors: */ 1617s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1617s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1617s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1617s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1617s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1617s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1617s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1617s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1617s # 1617s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1617s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1617s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1617s # 1617s # struct _ComAcmeCoyoteProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # ComAcmeCoyoteProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _ComAcmeCoyoteProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void com_acme_coyote_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void com_acme_coyote_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1617s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1617s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1617s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1617s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1617s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1617s # 1617s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1617s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1617s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1617s # 1617s # struct _ComAcmeCoyoteSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # ComAcmeCoyoteSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _ComAcmeCoyoteSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1617s # 1617s # 1617s # G_END_DECLS 1617s # 1617s # #endif /* __STDOUT__ */ 1617s # Error: 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcxe6o31n/tmp98z81yd_1.xml', '/tmp/tmpcxe6o31n/tmp2y9l3an22.xml', '--output', '-', '--body'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifdef HAVE_CONFIG_H 1617s # # include "config.h" 1617s # #endif 1617s # 1617s # #include 1617s # #ifdef G_OS_UNIX 1617s # # include 1617s # #endif 1617s # 1617s # #ifdef G_ENABLE_DEBUG 1617s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1617s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1617s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1617s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1617s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1617s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1617s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1617s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1617s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1617s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1617s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1617s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1617s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1617s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1617s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1617s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1617s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1617s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1617s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1617s # #else /* !G_ENABLE_DEBUG */ 1617s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1617s # * Do not access GValues directly in your code. Instead, use the 1617s # * g_value_get_*() functions 1617s # */ 1617s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1617s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1617s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1617s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1617s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1617s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1617s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1617s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1617s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1617s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1617s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1617s # #endif /* !G_ENABLE_DEBUG */ 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusArgInfo parent_struct; 1617s # gboolean use_gvariant; 1617s # } _ExtendedGDBusArgInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusMethodInfo parent_struct; 1617s # const gchar *signal_name; 1617s # gboolean pass_fdlist; 1617s # } _ExtendedGDBusMethodInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusSignalInfo parent_struct; 1617s # const gchar *signal_name; 1617s # } _ExtendedGDBusSignalInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusPropertyInfo parent_struct; 1617s # const gchar *hyphen_name; 1617s # guint use_gvariant : 1; 1617s # guint emits_changed_signal : 1; 1617s # } _ExtendedGDBusPropertyInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusInterfaceInfo parent_struct; 1617s # const gchar *hyphen_name; 1617s # } _ExtendedGDBusInterfaceInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # guint prop_id; 1617s # GValue orig_value; /* the value before the change */ 1617s # } ChangedProperty; 1617s # 1617s # static void 1617s # _changed_property_free (ChangedProperty *data) 1617s # { 1617s # g_value_unset (&data->orig_value); 1617s # g_free (data); 1617s # } 1617s # 1617s # static gboolean 1617s # _g_strv_equal0 (gchar **a, gchar **b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # guint n; 1617s # if (a == NULL && b == NULL) 1617s # { 1617s # ret = TRUE; 1617s # goto out; 1617s # } 1617s # if (a == NULL || b == NULL) 1617s # goto out; 1617s # if (g_strv_length (a) != g_strv_length (b)) 1617s # goto out; 1617s # for (n = 0; a[n] != NULL; n++) 1617s # if (g_strcmp0 (a[n], b[n]) != 0) 1617s # goto out; 1617s # ret = TRUE; 1617s # out: 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _g_variant_equal0 (GVariant *a, GVariant *b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # if (a == NULL && b == NULL) 1617s # { 1617s # ret = TRUE; 1617s # goto out; 1617s # } 1617s # if (a == NULL || b == NULL) 1617s # goto out; 1617s # ret = g_variant_equal (a, b); 1617s # out: 1617s # return ret; 1617s # } 1617s # 1617s # G_GNUC_UNUSED static gboolean 1617s # _g_value_equal (const GValue *a, const GValue *b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1617s # switch (G_VALUE_TYPE (a)) 1617s # { 1617s # case G_TYPE_BOOLEAN: 1617s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1617s # break; 1617s # case G_TYPE_UCHAR: 1617s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1617s # break; 1617s # case G_TYPE_INT: 1617s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1617s # break; 1617s # case G_TYPE_UINT: 1617s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1617s # break; 1617s # case G_TYPE_INT64: 1617s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1617s # break; 1617s # case G_TYPE_UINT64: 1617s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1617s # break; 1617s # case G_TYPE_DOUBLE: 1617s # { 1617s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1617s # gdouble da = g_value_get_double (a); 1617s # gdouble db = g_value_get_double (b); 1617s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1617s # } 1617s # break; 1617s # case G_TYPE_STRING: 1617s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1617s # break; 1617s # case G_TYPE_VARIANT: 1617s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1617s # break; 1617s # default: 1617s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1617s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1617s # else 1617s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1617s # break; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static void 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint G_GNUC_UNUSED, 1617s # void *marshal_data) 1617s # { 1617s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1617s # (void *data1, 1617s # GDBusMethodInvocation *arg_method_invocation, 1617s # void *data2); 1617s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1617s # GCClosure *cc = (GCClosure*) closure; 1617s # void *data1, *data2; 1617s # gboolean v_return; 1617s # 1617s # g_return_if_fail (return_value != NULL); 1617s # g_return_if_fail (n_param_values == 2); 1617s # 1617s # if (G_CCLOSURE_SWAP_DATA (closure)) 1617s # { 1617s # data1 = closure->data; 1617s # data2 = g_value_peek_pointer (param_values + 0); 1617s # } 1617s # else 1617s # { 1617s # data1 = g_value_peek_pointer (param_values + 0); 1617s # data2 = closure->data; 1617s # } 1617s # 1617s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1617s # (marshal_data ? marshal_data : cc->callback); 1617s # 1617s # v_return = 1617s # callback (data1, 1617s # g_marshal_value_peek_object (param_values + 1), 1617s # data2); 1617s # 1617s # g_value_set_boolean (return_value, v_return); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ 1617s # * Code for interface org.project.Bar.Frobnicator 1617s # * ------------------------------------------------------------------------ 1617s # */ 1617s # 1617s # /** 1617s # * SECTION:OrgProjectBarFrobnicator 1617s # * @title: OrgProjectBarFrobnicator 1617s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1617s # * 1617s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1617s # */ 1617s # 1617s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1617s # 1617s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "RandomMethod", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-random-method", 1617s # FALSE 1617s # }; 1617s # 1617s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1617s # { 1617s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "org.project.Bar.Frobnicator", 1617s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "org-project-bar-frobnicator", 1617s # }; 1617s # 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_interface_info: 1617s # * 1617s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1617s # * 1617s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1617s # */ 1617s # GDBusInterfaceInfo * 1617s # org_project_bar_frobnicator_interface_info (void) 1617s # { 1617s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_override_properties: 1617s # * @klass: The class structure for a #GObject derived class. 1617s # * @property_id_begin: The property id to assign to the first overridden property. 1617s # * 1617s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1617s # * The properties are overridden in the order they are defined. 1617s # * 1617s # * Returns: The last property id. 1617s # */ 1617s # guint 1617s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1617s # { 1617s # return property_id_begin - 1; 1617s # } 1617s # 1617s # 1617s # inline static void 1617s # org_project_bar_frobnicator_method_marshal_random_method ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicator: 1617s # * 1617s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorIface: 1617s # * @parent_iface: The parent interface. 1617s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1617s # * 1617s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1617s # */ 1617s # 1617s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1617s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1617s # { 1617s # /* GObject signals for incoming D-Bus method calls: */ 1617s # /** 1617s # * OrgProjectBarFrobnicator::handle-random-method: 1617s # * @object: A #OrgProjectBarFrobnicator. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-random-method", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # org_project_bar_frobnicator_method_marshal_random_method, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_call_random_method ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "RandomMethod", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method_finish: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # org_project_bar_frobnicator_call_random_method_finish ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method_sync: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # org_project_bar_frobnicator_call_random_method_sync ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "RandomMethod", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_complete_random_method: 1617s # * @object: A #OrgProjectBarFrobnicator. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_complete_random_method ( 1617s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorProxy: 1617s # * 1617s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorProxyClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1617s # */ 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxyPrivate 1617s # { 1617s # GData *qdata; 1617s # }; 1617s # 1617s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1617s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1617s # { 1617s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1617s # g_datalist_clear (&proxy->priv->qdata); 1617s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1617s # guint prop_id G_GNUC_UNUSED, 1617s # GValue *value G_GNUC_UNUSED, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1617s # guint prop_id G_GNUC_UNUSED, 1617s # const GValue *value G_GNUC_UNUSED, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1617s # const gchar *sender_name G_GNUC_UNUSED, 1617s # const gchar *signal_name, 1617s # GVariant *parameters) 1617s # { 1617s # _ExtendedGDBusSignalInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # gsize n; 1617s # guint signal_id; 1617s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1617s # if (info == NULL) 1617s # return; 1617s # num_params = g_variant_n_children (parameters); 1617s # paramv = g_new0 (GValue, num_params + 1); 1617s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_set_object (¶mv[0], proxy); 1617s # g_variant_iter_init (&iter, parameters); 1617s # n = 1; 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_signal_emitv (paramv, signal_id, 0, NULL); 1617s # for (n = 0; n < num_params + 1; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1617s # GVariant *changed_properties, 1617s # const gchar *const *invalidated_properties) 1617s # { 1617s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1617s # guint n; 1617s # const gchar *key; 1617s # GVariantIter *iter; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # g_variant_get (changed_properties, "a{sv}", &iter); 1617s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1617s # g_datalist_remove_data (&proxy->priv->qdata, key); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # g_variant_iter_free (iter); 1617s # for (n = 0; invalidated_properties[n] != NULL; n++) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1617s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1617s # #else 1617s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1617s # #endif 1617s # 1617s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusProxyClass *proxy_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1617s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1617s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1617s # 1617s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1617s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1617s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_sync: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorSkeleton: 1617s # * 1617s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorSkeletonClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1617s # */ 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1617s # { 1617s # GValue *properties; 1617s # GList *changed_properties; 1617s # GSource *changed_properties_idle_source; 1617s # GMainContext *context; 1617s # GMutex lock; 1617s # }; 1617s # 1617s # static void 1617s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name, 1617s # const gchar *method_name, 1617s # GVariant *parameters, 1617s # GDBusMethodInvocation *invocation, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # _ExtendedGDBusMethodInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # guint num_extra; 1617s # gsize n; 1617s # guint signal_id; 1617s # GValue return_value = G_VALUE_INIT; 1617s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1617s # g_assert (info != NULL); 1617s # num_params = g_variant_n_children (parameters); 1617s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1617s # n = 0; 1617s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_set_object (¶mv[n++], skeleton); 1617s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1617s # g_value_set_object (¶mv[n++], invocation); 1617s # if (info->pass_fdlist) 1617s # { 1617s # #ifdef G_OS_UNIX 1617s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1617s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1617s # #else 1617s # g_assert_not_reached (); 1617s # #endif 1617s # } 1617s # g_variant_iter_init (&iter, parameters); 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1617s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1617s # if (!g_value_get_boolean (&return_value)) 1617s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1617s # g_value_unset (&return_value); 1617s # for (n = 0; n < num_params + num_extra; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static GVariant * 1617s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *ret; 1617s # ret = NULL; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # g_value_init (&value, pspec->value_type); 1617s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_value_unset (&value); 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GVariant *variant, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # gboolean ret; 1617s # ret = FALSE; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # if (info->use_gvariant) 1617s # g_value_set_variant (&value, variant); 1617s # else 1617s # g_dbus_gvariant_to_gvalue (variant, &value); 1617s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # g_value_unset (&value); 1617s # ret = TRUE; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1617s # { 1617s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1617s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1617s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1617s # {NULL} 1617s # }; 1617s # 1617s # static GDBusInterfaceInfo * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return org_project_bar_frobnicator_interface_info (); 1617s # } 1617s # 1617s # static GDBusInterfaceVTable * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1617s # } 1617s # 1617s # static GVariant * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1617s # 1617s # GVariantBuilder builder; 1617s # guint n; 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #else 1617s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #endif 1617s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1617s # goto out; 1617s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1617s # { 1617s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1617s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1617s # { 1617s # GVariant *value; 1617s # 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); 1617s # if (value != NULL) 1617s # { 1617s # g_variant_take_ref (value); 1617s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1617s # g_variant_unref (value); 1617s # } 1617s # } 1617s # } 1617s # out: 1617s # return g_variant_builder_end (&builder); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # g_main_context_unref (skeleton->priv->context); 1617s # g_mutex_clear (&skeleton->priv->lock); 1617s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1617s # #else 1617s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1617s # #endif 1617s # 1617s # g_mutex_init (&skeleton->priv->lock); 1617s # skeleton->priv->context = g_main_context_ref_thread_default (); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusInterfaceSkeletonClass *skeleton_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1617s # 1617s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1617s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1617s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1617s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1617s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_skeleton_new: 1617s # * 1617s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_skeleton_new (void) 1617s # { 1617s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ 1617s # * Code for interface com.acme.Coyote 1617s # * ------------------------------------------------------------------------ 1617s # */ 1617s # 1617s # /** 1617s # * SECTION:ComAcmeCoyote 1617s # * @title: ComAcmeCoyote 1617s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1617s # * 1617s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1617s # */ 1617s # 1617s # enum 1617s # { 1617s # _COM_ACME_COYOTE_SURPRISED, 1617s # }; 1617s # 1617s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1617s # 1617s # /* ---- Introspection data for com.acme.Coyote ---- */ 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Run", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-run", 1617s # FALSE 1617s # }; 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Sleep", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-sleep", 1617s # FALSE 1617s # }; 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Attack", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-attack", 1617s # FALSE 1617s # }; 1617s # 1617s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_method_info_run.parent_struct, 1617s # &_com_acme_coyote_method_info_sleep.parent_struct, 1617s # &_com_acme_coyote_method_info_attack.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Surprised", 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "surprised" 1617s # }; 1617s # 1617s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Mood", 1617s # (gchar *) "s", 1617s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1617s # NULL 1617s # }, 1617s # "mood", 1617s # FALSE, 1617s # TRUE 1617s # }; 1617s # 1617s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_property_info_mood.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "com.acme.Coyote", 1617s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1617s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1617s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1617s # NULL 1617s # }, 1617s # "com-acme-coyote", 1617s # }; 1617s # 1617s # 1617s # /** 1617s # * com_acme_coyote_interface_info: 1617s # * 1617s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1617s # * 1617s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1617s # */ 1617s # GDBusInterfaceInfo * 1617s # com_acme_coyote_interface_info (void) 1617s # { 1617s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_override_properties: 1617s # * @klass: The class structure for a #GObject derived class. 1617s # * @property_id_begin: The property id to assign to the first overridden property. 1617s # * 1617s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1617s # * The properties are overridden in the order they are defined. 1617s # * 1617s # * Returns: The last property id. 1617s # */ 1617s # guint 1617s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1617s # { 1617s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1617s # return property_id_begin - 1; 1617s # } 1617s # 1617s # 1617s # inline static void 1617s # com_acme_coyote_signal_marshal_surprised ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # g_cclosure_marshal_VOID__VOID (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_run ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_sleep ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_attack ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # 1617s # /** 1617s # * ComAcmeCoyote: 1617s # * 1617s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteIface: 1617s # * @parent_iface: The parent interface. 1617s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1617s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1617s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1617s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1617s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1617s # * 1617s # * Virtual table for the D-Bus interface com.acme.Coyote. 1617s # */ 1617s # 1617s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1617s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1617s # 1617s # static void 1617s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # /* GObject signals for incoming D-Bus method calls: */ 1617s # /** 1617s # * ComAcmeCoyote::handle-run: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-run", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_run, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /** 1617s # * ComAcmeCoyote::handle-sleep: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-sleep", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_sleep, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /** 1617s # * ComAcmeCoyote::handle-attack: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-attack", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_attack, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /* GObject signals for received D-Bus signals: */ 1617s # /** 1617s # * ComAcmeCoyote::surprised: 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1617s # * 1617s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1617s # */ 1617s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1617s # g_signal_new ("surprised", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1617s # NULL, 1617s # NULL, 1617s # com_acme_coyote_signal_marshal_surprised, 1617s # G_TYPE_NONE, 1617s # 0); 1617s # 1617s # /* GObject properties for D-Bus properties: */ 1617s # /** 1617s # * ComAcmeCoyote:mood: 1617s # * 1617s # * Represents the D-Bus property "Mood". 1617s # * 1617s # * 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. 1617s # */ 1617s # g_object_interface_install_property (iface, 1617s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_get_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Gets the value of the "Mood" D-Bus property. 1617s # * 1617s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # const gchar * 1617s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1617s # 1617s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_dup_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Gets a copy of the "Mood" D-Bus property. 1617s # * 1617s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1617s # * 1617s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1617s # */ 1617s # gchar * 1617s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1617s # { 1617s # gchar *value; 1617s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1617s # return value; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_set_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * @value: The value to set. 1617s # * 1617s # * Sets the "Mood" D-Bus property to @value. 1617s # * 1617s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1617s # */ 1617s # void 1617s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1617s # { 1617s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_emit_surprised: 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Emits the "Surprised" D-Bus signal. 1617s # */ 1617s # void 1617s # com_acme_coyote_emit_surprised ( 1617s # ComAcmeCoyote *object) 1617s # { 1617s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_run ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Run", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_run(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_run_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_run_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Run", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_sleep ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Sleep", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_sleep_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_sleep_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Sleep", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_attack ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Attack", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_attack(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_attack_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_attack_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Attack", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_run: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_run ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_sleep: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_sleep ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_attack: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_attack ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteProxy: 1617s # * 1617s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteProxyClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #ComAcmeCoyoteProxy. 1617s # */ 1617s # 1617s # struct _ComAcmeCoyoteProxyPrivate 1617s # { 1617s # GData *qdata; 1617s # }; 1617s # 1617s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1617s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # com_acme_coyote_proxy_finalize (GObject *object) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1617s # g_datalist_clear (&proxy->priv->qdata); 1617s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_get_property (GObject *object, 1617s # guint prop_id, 1617s # GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *variant; 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1617s # if (info->use_gvariant) 1617s # { 1617s # g_value_set_variant (value, variant); 1617s # } 1617s # else 1617s # { 1617s # if (variant != NULL) 1617s # g_dbus_gvariant_to_gvalue (variant, value); 1617s # } 1617s # if (variant != NULL) 1617s # g_variant_unref (variant); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1617s # GAsyncResult *res, 1617s # gpointer user_data) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info = user_data; 1617s # GError *error; 1617s # GVariant *_ret; 1617s # error = NULL; 1617s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1617s # if (!_ret) 1617s # { 1617s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1617s # info->parent_struct.name, 1617s # error->message, g_quark_to_string (error->domain), error->code); 1617s # g_error_free (error); 1617s # } 1617s # else 1617s # { 1617s # g_variant_unref (_ret); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_set_property (GObject *object, 1617s # guint prop_id, 1617s # const GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *variant; 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1617s # "org.freedesktop.DBus.Properties.Set", 1617s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1617s # g_variant_unref (variant); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1617s # const gchar *sender_name G_GNUC_UNUSED, 1617s # const gchar *signal_name, 1617s # GVariant *parameters) 1617s # { 1617s # _ExtendedGDBusSignalInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # gsize n; 1617s # guint signal_id; 1617s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1617s # if (info == NULL) 1617s # return; 1617s # num_params = g_variant_n_children (parameters); 1617s # paramv = g_new0 (GValue, num_params + 1); 1617s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1617s # g_value_set_object (¶mv[0], proxy); 1617s # g_variant_iter_init (&iter, parameters); 1617s # n = 1; 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1617s # g_signal_emitv (paramv, signal_id, 0, NULL); 1617s # for (n = 0; n < num_params + 1; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1617s # GVariant *changed_properties, 1617s # const gchar *const *invalidated_properties) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1617s # guint n; 1617s # const gchar *key; 1617s # GVariantIter *iter; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # g_variant_get (changed_properties, "a{sv}", &iter); 1617s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1617s # g_datalist_remove_data (&proxy->priv->qdata, key); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # g_variant_iter_free (iter); 1617s # for (n = 0; invalidated_properties[n] != NULL; n++) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1617s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # } 1617s # 1617s # static const gchar * 1617s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1617s # GVariant *variant; 1617s # const gchar *value = NULL; 1617s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1617s # if (variant != NULL) 1617s # { 1617s # value = g_variant_get_string (variant, NULL); 1617s # g_variant_unref (variant); 1617s # } 1617s # return value; 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1617s # #else 1617s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1617s # #endif 1617s # 1617s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusProxyClass *proxy_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1617s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1617s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1617s # 1617s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1617s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1617s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1617s # 1617s # com_acme_coyote_override_properties (gobject_class, 1); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # com_acme_coyote_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_sync: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # com_acme_coyote_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus_sync: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteSkeleton: 1617s # * 1617s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteSkeletonClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #ComAcmeCoyoteSkeleton. 1617s # */ 1617s # 1617s # struct _ComAcmeCoyoteSkeletonPrivate 1617s # { 1617s # GValue *properties; 1617s # GList *changed_properties; 1617s # GSource *changed_properties_idle_source; 1617s # GMainContext *context; 1617s # GMutex lock; 1617s # }; 1617s # 1617s # static void 1617s # _com_acme_coyote_skeleton_handle_method_call ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name, 1617s # const gchar *method_name, 1617s # GVariant *parameters, 1617s # GDBusMethodInvocation *invocation, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # _ExtendedGDBusMethodInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # guint num_extra; 1617s # gsize n; 1617s # guint signal_id; 1617s # GValue return_value = G_VALUE_INIT; 1617s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1617s # g_assert (info != NULL); 1617s # num_params = g_variant_n_children (parameters); 1617s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1617s # n = 0; 1617s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1617s # g_value_set_object (¶mv[n++], skeleton); 1617s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1617s # g_value_set_object (¶mv[n++], invocation); 1617s # if (info->pass_fdlist) 1617s # { 1617s # #ifdef G_OS_UNIX 1617s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1617s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1617s # #else 1617s # g_assert_not_reached (); 1617s # #endif 1617s # } 1617s # g_variant_iter_init (&iter, parameters); 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1617s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1617s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1617s # if (!g_value_get_boolean (&return_value)) 1617s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1617s # g_value_unset (&return_value); 1617s # for (n = 0; n < num_params + num_extra; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static GVariant * 1617s # _com_acme_coyote_skeleton_handle_get_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *ret; 1617s # ret = NULL; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # g_value_init (&value, pspec->value_type); 1617s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_value_unset (&value); 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _com_acme_coyote_skeleton_handle_set_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GVariant *variant, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # gboolean ret; 1617s # ret = FALSE; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # if (info->use_gvariant) 1617s # g_value_set_variant (&value, variant); 1617s # else 1617s # g_dbus_gvariant_to_gvalue (variant, &value); 1617s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # g_value_unset (&value); 1617s # ret = TRUE; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1617s # { 1617s # _com_acme_coyote_skeleton_handle_method_call, 1617s # _com_acme_coyote_skeleton_handle_get_property, 1617s # _com_acme_coyote_skeleton_handle_set_property, 1617s # {NULL} 1617s # }; 1617s # 1617s # static GDBusInterfaceInfo * 1617s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return com_acme_coyote_interface_info (); 1617s # } 1617s # 1617s # static GDBusInterfaceVTable * 1617s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1617s # } 1617s # 1617s # static GVariant * 1617s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1617s # 1617s # GVariantBuilder builder; 1617s # guint n; 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #else 1617s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #endif 1617s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1617s # goto out; 1617s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1617s # { 1617s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1617s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1617s # { 1617s # GVariant *value; 1617s # 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); 1617s # if (value != NULL) 1617s # { 1617s # g_variant_take_ref (value); 1617s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1617s # g_variant_unref (value); 1617s # } 1617s # } 1617s # } 1617s # out: 1617s # return g_variant_builder_end (&builder); 1617s # } 1617s # 1617s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1617s # gboolean emit_changed = FALSE; 1617s # 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # { 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # skeleton->priv->changed_properties_idle_source = NULL; 1617s # emit_changed = TRUE; 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # 1617s # if (emit_changed) 1617s # _com_acme_coyote_emit_changed (skeleton); 1617s # } 1617s # 1617s # static void 1617s # _com_acme_coyote_on_signal_surprised ( 1617s # ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # 1617s # GList *connections, *l; 1617s # GVariant *signal_variant; 1617s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1617s # 1617s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1617s # for (l = connections; l != NULL; l = l->next) 1617s # { 1617s # GDBusConnection *connection = l->data; 1617s # g_dbus_connection_emit_signal (connection, 1617s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1617s # signal_variant, NULL); 1617s # } 1617s # g_variant_unref (signal_variant); 1617s # g_list_free_full (connections, g_object_unref); 1617s # } 1617s # 1617s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # com_acme_coyote_skeleton_finalize (GObject *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # guint n; 1617s # for (n = 0; n < 1; n++) 1617s # g_value_unset (&skeleton->priv->properties[n]); 1617s # g_free (skeleton->priv->properties); 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # g_main_context_unref (skeleton->priv->context); 1617s # g_mutex_clear (&skeleton->priv->lock); 1617s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_get_property (GObject *object, 1617s # guint prop_id, 1617s # GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # } 1617s # 1617s # static gboolean 1617s # _com_acme_coyote_emit_changed (gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GList *l; 1617s # GVariantBuilder builder; 1617s # GVariantBuilder invalidated_builder; 1617s # guint num_changes; 1617s # 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1617s # #else 1617s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1617s # #endif 1617s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1617s # { 1617s # ChangedProperty *cp = l->data; 1617s # GVariant *variant; 1617s # const GValue *cur_value; 1617s # 1617s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1617s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1617s # { 1617s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1617s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1617s # g_variant_unref (variant); 1617s # num_changes++; 1617s # } 1617s # } 1617s # if (num_changes > 0) 1617s # { 1617s # GList *connections, *ll; 1617s # GVariant *signal_variant; 1617s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1617s # &builder, &invalidated_builder)); 1617s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1617s # for (ll = connections; ll != NULL; ll = ll->next) 1617s # { 1617s # GDBusConnection *connection = ll->data; 1617s # 1617s # g_dbus_connection_emit_signal (connection, 1617s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1617s # "org.freedesktop.DBus.Properties", 1617s # "PropertiesChanged", 1617s # signal_variant, 1617s # NULL); 1617s # } 1617s # g_variant_unref (signal_variant); 1617s # g_list_free_full (connections, g_object_unref); 1617s # } 1617s # else 1617s # { 1617s # g_variant_builder_clear (&builder); 1617s # g_variant_builder_clear (&invalidated_builder); 1617s # } 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # skeleton->priv->changed_properties = NULL; 1617s # skeleton->priv->changed_properties_idle_source = NULL; 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # return FALSE; 1617s # } 1617s # 1617s # static void 1617s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1617s # { 1617s # ChangedProperty *cp; 1617s # GList *l; 1617s # cp = NULL; 1617s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1617s # { 1617s # ChangedProperty *i_cp = l->data; 1617s # if (i_cp->info == info) 1617s # { 1617s # cp = i_cp; 1617s # break; 1617s # } 1617s # } 1617s # if (cp == NULL) 1617s # { 1617s # cp = g_new0 (ChangedProperty, 1); 1617s # cp->prop_id = prop_id; 1617s # cp->info = info; 1617s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1617s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1617s # g_value_copy (orig_value, &cp->orig_value); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_notify (GObject *object, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # if (skeleton->priv->changed_properties != NULL && 1617s # skeleton->priv->changed_properties_idle_source == NULL) 1617s # { 1617s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1617s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1617s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1617s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1617s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1617s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_set_property (GObject *object, 1617s # guint prop_id, 1617s # const GValue *value, 1617s # GParamSpec *pspec) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # g_object_freeze_notify (object); 1617s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1617s # { 1617s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1617s # info->emits_changed_signal) 1617s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1617s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1617s # g_object_notify_by_pspec (object, pspec); 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # g_object_thaw_notify (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1617s # #else 1617s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1617s # #endif 1617s # 1617s # g_mutex_init (&skeleton->priv->lock); 1617s # skeleton->priv->context = g_main_context_ref_thread_default (); 1617s # skeleton->priv->properties = g_new0 (GValue, 1); 1617s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1617s # } 1617s # 1617s # static const gchar * 1617s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # const gchar *value; 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # return value; 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusInterfaceSkeletonClass *skeleton_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1617s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1617s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1617s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1617s # 1617s # 1617s # com_acme_coyote_override_properties (gobject_class, 1); 1617s # 1617s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1617s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1617s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1617s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1617s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1617s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_skeleton_new: 1617s # * 1617s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_skeleton_new (void) 1617s # { 1617s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1617s # } 1617s # Error: 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcxe6o31n/tmp2y9l3an22.xml', '/tmp/tmpcxe6o31n/tmp98z81yd_1.xml', '--output', '-', '--body'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifdef HAVE_CONFIG_H 1617s # # include "config.h" 1617s # #endif 1617s # 1617s # #include 1617s # #ifdef G_OS_UNIX 1617s # # include 1617s # #endif 1617s # 1617s # #ifdef G_ENABLE_DEBUG 1617s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1617s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1617s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1617s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1617s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1617s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1617s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1617s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1617s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1617s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1617s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1617s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1617s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1617s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1617s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1617s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1617s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1617s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1617s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1617s # #else /* !G_ENABLE_DEBUG */ 1617s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1617s # * Do not access GValues directly in your code. Instead, use the 1617s # * g_value_get_*() functions 1617s # */ 1617s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1617s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1617s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1617s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1617s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1617s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1617s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1617s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1617s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1617s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1617s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1617s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1617s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1617s # #endif /* !G_ENABLE_DEBUG */ 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusArgInfo parent_struct; 1617s # gboolean use_gvariant; 1617s # } _ExtendedGDBusArgInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusMethodInfo parent_struct; 1617s # const gchar *signal_name; 1617s # gboolean pass_fdlist; 1617s # } _ExtendedGDBusMethodInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusSignalInfo parent_struct; 1617s # const gchar *signal_name; 1617s # } _ExtendedGDBusSignalInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusPropertyInfo parent_struct; 1617s # const gchar *hyphen_name; 1617s # guint use_gvariant : 1; 1617s # guint emits_changed_signal : 1; 1617s # } _ExtendedGDBusPropertyInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # GDBusInterfaceInfo parent_struct; 1617s # const gchar *hyphen_name; 1617s # } _ExtendedGDBusInterfaceInfo; 1617s # 1617s # typedef struct 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # guint prop_id; 1617s # GValue orig_value; /* the value before the change */ 1617s # } ChangedProperty; 1617s # 1617s # static void 1617s # _changed_property_free (ChangedProperty *data) 1617s # { 1617s # g_value_unset (&data->orig_value); 1617s # g_free (data); 1617s # } 1617s # 1617s # static gboolean 1617s # _g_strv_equal0 (gchar **a, gchar **b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # guint n; 1617s # if (a == NULL && b == NULL) 1617s # { 1617s # ret = TRUE; 1617s # goto out; 1617s # } 1617s # if (a == NULL || b == NULL) 1617s # goto out; 1617s # if (g_strv_length (a) != g_strv_length (b)) 1617s # goto out; 1617s # for (n = 0; a[n] != NULL; n++) 1617s # if (g_strcmp0 (a[n], b[n]) != 0) 1617s # goto out; 1617s # ret = TRUE; 1617s # out: 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _g_variant_equal0 (GVariant *a, GVariant *b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # if (a == NULL && b == NULL) 1617s # { 1617s # ret = TRUE; 1617s # goto out; 1617s # } 1617s # if (a == NULL || b == NULL) 1617s # goto out; 1617s # ret = g_variant_equal (a, b); 1617s # out: 1617s # return ret; 1617s # } 1617s # 1617s # G_GNUC_UNUSED static gboolean 1617s # _g_value_equal (const GValue *a, const GValue *b) 1617s # { 1617s # gboolean ret = FALSE; 1617s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1617s # switch (G_VALUE_TYPE (a)) 1617s # { 1617s # case G_TYPE_BOOLEAN: 1617s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1617s # break; 1617s # case G_TYPE_UCHAR: 1617s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1617s # break; 1617s # case G_TYPE_INT: 1617s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1617s # break; 1617s # case G_TYPE_UINT: 1617s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1617s # break; 1617s # case G_TYPE_INT64: 1617s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1617s # break; 1617s # case G_TYPE_UINT64: 1617s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1617s # break; 1617s # case G_TYPE_DOUBLE: 1617s # { 1617s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1617s # gdouble da = g_value_get_double (a); 1617s # gdouble db = g_value_get_double (b); 1617s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1617s # } 1617s # break; 1617s # case G_TYPE_STRING: 1617s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1617s # break; 1617s # case G_TYPE_VARIANT: 1617s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1617s # break; 1617s # default: 1617s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1617s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1617s # else 1617s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1617s # break; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static void 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint G_GNUC_UNUSED, 1617s # void *marshal_data) 1617s # { 1617s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1617s # (void *data1, 1617s # GDBusMethodInvocation *arg_method_invocation, 1617s # void *data2); 1617s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1617s # GCClosure *cc = (GCClosure*) closure; 1617s # void *data1, *data2; 1617s # gboolean v_return; 1617s # 1617s # g_return_if_fail (return_value != NULL); 1617s # g_return_if_fail (n_param_values == 2); 1617s # 1617s # if (G_CCLOSURE_SWAP_DATA (closure)) 1617s # { 1617s # data1 = closure->data; 1617s # data2 = g_value_peek_pointer (param_values + 0); 1617s # } 1617s # else 1617s # { 1617s # data1 = g_value_peek_pointer (param_values + 0); 1617s # data2 = closure->data; 1617s # } 1617s # 1617s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1617s # (marshal_data ? marshal_data : cc->callback); 1617s # 1617s # v_return = 1617s # callback (data1, 1617s # g_marshal_value_peek_object (param_values + 1), 1617s # data2); 1617s # 1617s # g_value_set_boolean (return_value, v_return); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ 1617s # * Code for interface org.project.Bar.Frobnicator 1617s # * ------------------------------------------------------------------------ 1617s # */ 1617s # 1617s # /** 1617s # * SECTION:OrgProjectBarFrobnicator 1617s # * @title: OrgProjectBarFrobnicator 1617s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1617s # * 1617s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1617s # */ 1617s # 1617s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1617s # 1617s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "RandomMethod", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-random-method", 1617s # FALSE 1617s # }; 1617s # 1617s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1617s # { 1617s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "org.project.Bar.Frobnicator", 1617s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "org-project-bar-frobnicator", 1617s # }; 1617s # 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_interface_info: 1617s # * 1617s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1617s # * 1617s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1617s # */ 1617s # GDBusInterfaceInfo * 1617s # org_project_bar_frobnicator_interface_info (void) 1617s # { 1617s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_override_properties: 1617s # * @klass: The class structure for a #GObject derived class. 1617s # * @property_id_begin: The property id to assign to the first overridden property. 1617s # * 1617s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1617s # * The properties are overridden in the order they are defined. 1617s # * 1617s # * Returns: The last property id. 1617s # */ 1617s # guint 1617s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1617s # { 1617s # return property_id_begin - 1; 1617s # } 1617s # 1617s # 1617s # inline static void 1617s # org_project_bar_frobnicator_method_marshal_random_method ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicator: 1617s # * 1617s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorIface: 1617s # * @parent_iface: The parent interface. 1617s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1617s # * 1617s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1617s # */ 1617s # 1617s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1617s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1617s # { 1617s # /* GObject signals for incoming D-Bus method calls: */ 1617s # /** 1617s # * OrgProjectBarFrobnicator::handle-random-method: 1617s # * @object: A #OrgProjectBarFrobnicator. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-random-method", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # org_project_bar_frobnicator_method_marshal_random_method, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_call_random_method ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "RandomMethod", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method_finish: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # org_project_bar_frobnicator_call_random_method_finish ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_call_random_method_sync: 1617s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # org_project_bar_frobnicator_call_random_method_sync ( 1617s # OrgProjectBarFrobnicator *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "RandomMethod", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_complete_random_method: 1617s # * @object: A #OrgProjectBarFrobnicator. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_complete_random_method ( 1617s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorProxy: 1617s # * 1617s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorProxyClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1617s # */ 1617s # 1617s # struct _OrgProjectBarFrobnicatorProxyPrivate 1617s # { 1617s # GData *qdata; 1617s # }; 1617s # 1617s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1617s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1617s # { 1617s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1617s # g_datalist_clear (&proxy->priv->qdata); 1617s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1617s # guint prop_id G_GNUC_UNUSED, 1617s # GValue *value G_GNUC_UNUSED, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1617s # guint prop_id G_GNUC_UNUSED, 1617s # const GValue *value G_GNUC_UNUSED, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1617s # const gchar *sender_name G_GNUC_UNUSED, 1617s # const gchar *signal_name, 1617s # GVariant *parameters) 1617s # { 1617s # _ExtendedGDBusSignalInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # gsize n; 1617s # guint signal_id; 1617s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1617s # if (info == NULL) 1617s # return; 1617s # num_params = g_variant_n_children (parameters); 1617s # paramv = g_new0 (GValue, num_params + 1); 1617s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_set_object (¶mv[0], proxy); 1617s # g_variant_iter_init (&iter, parameters); 1617s # n = 1; 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_signal_emitv (paramv, signal_id, 0, NULL); 1617s # for (n = 0; n < num_params + 1; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1617s # GVariant *changed_properties, 1617s # const gchar *const *invalidated_properties) 1617s # { 1617s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1617s # guint n; 1617s # const gchar *key; 1617s # GVariantIter *iter; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # g_variant_get (changed_properties, "a{sv}", &iter); 1617s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1617s # g_datalist_remove_data (&proxy->priv->qdata, key); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # g_variant_iter_free (iter); 1617s # for (n = 0; invalidated_properties[n] != NULL; n++) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1617s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1617s # #else 1617s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1617s # #endif 1617s # 1617s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusProxyClass *proxy_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1617s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1617s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1617s # 1617s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1617s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1617s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_sync: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # org_project_bar_frobnicator_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorSkeleton: 1617s # * 1617s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * OrgProjectBarFrobnicatorSkeletonClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1617s # */ 1617s # 1617s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1617s # { 1617s # GValue *properties; 1617s # GList *changed_properties; 1617s # GSource *changed_properties_idle_source; 1617s # GMainContext *context; 1617s # GMutex lock; 1617s # }; 1617s # 1617s # static void 1617s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name, 1617s # const gchar *method_name, 1617s # GVariant *parameters, 1617s # GDBusMethodInvocation *invocation, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # _ExtendedGDBusMethodInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # guint num_extra; 1617s # gsize n; 1617s # guint signal_id; 1617s # GValue return_value = G_VALUE_INIT; 1617s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1617s # g_assert (info != NULL); 1617s # num_params = g_variant_n_children (parameters); 1617s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1617s # n = 0; 1617s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_set_object (¶mv[n++], skeleton); 1617s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1617s # g_value_set_object (¶mv[n++], invocation); 1617s # if (info->pass_fdlist) 1617s # { 1617s # #ifdef G_OS_UNIX 1617s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1617s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1617s # #else 1617s # g_assert_not_reached (); 1617s # #endif 1617s # } 1617s # g_variant_iter_init (&iter, parameters); 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1617s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1617s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1617s # if (!g_value_get_boolean (&return_value)) 1617s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1617s # g_value_unset (&return_value); 1617s # for (n = 0; n < num_params + num_extra; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static GVariant * 1617s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *ret; 1617s # ret = NULL; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # g_value_init (&value, pspec->value_type); 1617s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_value_unset (&value); 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GVariant *variant, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # gboolean ret; 1617s # ret = FALSE; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # if (info->use_gvariant) 1617s # g_value_set_variant (&value, variant); 1617s # else 1617s # g_dbus_gvariant_to_gvalue (variant, &value); 1617s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # g_value_unset (&value); 1617s # ret = TRUE; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1617s # { 1617s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1617s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1617s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1617s # {NULL} 1617s # }; 1617s # 1617s # static GDBusInterfaceInfo * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return org_project_bar_frobnicator_interface_info (); 1617s # } 1617s # 1617s # static GDBusInterfaceVTable * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1617s # } 1617s # 1617s # static GVariant * 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1617s # 1617s # GVariantBuilder builder; 1617s # guint n; 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #else 1617s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #endif 1617s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1617s # goto out; 1617s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1617s # { 1617s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1617s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1617s # { 1617s # GVariant *value; 1617s # 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); 1617s # if (value != NULL) 1617s # { 1617s # g_variant_take_ref (value); 1617s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1617s # g_variant_unref (value); 1617s # } 1617s # } 1617s # } 1617s # out: 1617s # return g_variant_builder_end (&builder); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1617s # { 1617s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # g_main_context_unref (skeleton->priv->context); 1617s # g_mutex_clear (&skeleton->priv->lock); 1617s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1617s # #else 1617s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1617s # #endif 1617s # 1617s # g_mutex_init (&skeleton->priv->lock); 1617s # skeleton->priv->context = g_main_context_ref_thread_default (); 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusInterfaceSkeletonClass *skeleton_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1617s # 1617s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1617s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1617s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1617s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1617s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1617s # { 1617s # } 1617s # 1617s # /** 1617s # * org_project_bar_frobnicator_skeleton_new: 1617s # * 1617s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1617s # * 1617s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1617s # */ 1617s # OrgProjectBarFrobnicator * 1617s # org_project_bar_frobnicator_skeleton_new (void) 1617s # { 1617s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ 1617s # * Code for interface com.acme.Coyote 1617s # * ------------------------------------------------------------------------ 1617s # */ 1617s # 1617s # /** 1617s # * SECTION:ComAcmeCoyote 1617s # * @title: ComAcmeCoyote 1617s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1617s # * 1617s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1617s # */ 1617s # 1617s # enum 1617s # { 1617s # _COM_ACME_COYOTE_SURPRISED, 1617s # }; 1617s # 1617s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1617s # 1617s # /* ---- Introspection data for com.acme.Coyote ---- */ 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Run", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-run", 1617s # FALSE 1617s # }; 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Sleep", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-sleep", 1617s # FALSE 1617s # }; 1617s # 1617s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Attack", 1617s # NULL, 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "handle-attack", 1617s # FALSE 1617s # }; 1617s # 1617s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_method_info_run.parent_struct, 1617s # &_com_acme_coyote_method_info_sleep.parent_struct, 1617s # &_com_acme_coyote_method_info_attack.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Surprised", 1617s # NULL, 1617s # NULL 1617s # }, 1617s # "surprised" 1617s # }; 1617s # 1617s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "Mood", 1617s # (gchar *) "s", 1617s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1617s # NULL 1617s # }, 1617s # "mood", 1617s # FALSE, 1617s # TRUE 1617s # }; 1617s # 1617s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1617s # { 1617s # &_com_acme_coyote_property_info_mood.parent_struct, 1617s # NULL 1617s # }; 1617s # 1617s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1617s # { 1617s # { 1617s # -1, 1617s # (gchar *) "com.acme.Coyote", 1617s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1617s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1617s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1617s # NULL 1617s # }, 1617s # "com-acme-coyote", 1617s # }; 1617s # 1617s # 1617s # /** 1617s # * com_acme_coyote_interface_info: 1617s # * 1617s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1617s # * 1617s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1617s # */ 1617s # GDBusInterfaceInfo * 1617s # com_acme_coyote_interface_info (void) 1617s # { 1617s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_override_properties: 1617s # * @klass: The class structure for a #GObject derived class. 1617s # * @property_id_begin: The property id to assign to the first overridden property. 1617s # * 1617s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1617s # * The properties are overridden in the order they are defined. 1617s # * 1617s # * Returns: The last property id. 1617s # */ 1617s # guint 1617s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1617s # { 1617s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1617s # return property_id_begin - 1; 1617s # } 1617s # 1617s # 1617s # inline static void 1617s # com_acme_coyote_signal_marshal_surprised ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # g_cclosure_marshal_VOID__VOID (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_run ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_sleep ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # inline static void 1617s # com_acme_coyote_method_marshal_attack ( 1617s # GClosure *closure, 1617s # GValue *return_value, 1617s # unsigned int n_param_values, 1617s # const GValue *param_values, 1617s # void *invocation_hint, 1617s # void *marshal_data) 1617s # { 1617s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1617s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1617s # } 1617s # 1617s # 1617s # /** 1617s # * ComAcmeCoyote: 1617s # * 1617s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteIface: 1617s # * @parent_iface: The parent interface. 1617s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1617s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1617s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1617s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1617s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1617s # * 1617s # * Virtual table for the D-Bus interface com.acme.Coyote. 1617s # */ 1617s # 1617s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1617s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1617s # 1617s # static void 1617s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # /* GObject signals for incoming D-Bus method calls: */ 1617s # /** 1617s # * ComAcmeCoyote::handle-run: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-run", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_run, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /** 1617s # * ComAcmeCoyote::handle-sleep: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-sleep", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_sleep, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /** 1617s # * ComAcmeCoyote::handle-attack: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: A #GDBusMethodInvocation. 1617s # * 1617s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # g_signal_new ("handle-attack", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1617s # g_signal_accumulator_true_handled, 1617s # NULL, 1617s # com_acme_coyote_method_marshal_attack, 1617s # G_TYPE_BOOLEAN, 1617s # 1, 1617s # G_TYPE_DBUS_METHOD_INVOCATION); 1617s # 1617s # /* GObject signals for received D-Bus signals: */ 1617s # /** 1617s # * ComAcmeCoyote::surprised: 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1617s # * 1617s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1617s # */ 1617s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1617s # g_signal_new ("surprised", 1617s # G_TYPE_FROM_INTERFACE (iface), 1617s # G_SIGNAL_RUN_LAST, 1617s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1617s # NULL, 1617s # NULL, 1617s # com_acme_coyote_signal_marshal_surprised, 1617s # G_TYPE_NONE, 1617s # 0); 1617s # 1617s # /* GObject properties for D-Bus properties: */ 1617s # /** 1617s # * ComAcmeCoyote:mood: 1617s # * 1617s # * Represents the D-Bus property "Mood". 1617s # * 1617s # * 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. 1617s # */ 1617s # g_object_interface_install_property (iface, 1617s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_get_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Gets the value of the "Mood" D-Bus property. 1617s # * 1617s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1617s # * 1617s # * 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. 1617s # * 1617s # * 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. 1617s # */ 1617s # const gchar * 1617s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1617s # 1617s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_dup_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Gets a copy of the "Mood" D-Bus property. 1617s # * 1617s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1617s # * 1617s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1617s # */ 1617s # gchar * 1617s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1617s # { 1617s # gchar *value; 1617s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1617s # return value; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_set_mood: (skip) 1617s # * @object: A #ComAcmeCoyote. 1617s # * @value: The value to set. 1617s # * 1617s # * Sets the "Mood" D-Bus property to @value. 1617s # * 1617s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1617s # */ 1617s # void 1617s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1617s # { 1617s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_emit_surprised: 1617s # * @object: A #ComAcmeCoyote. 1617s # * 1617s # * Emits the "Surprised" D-Bus signal. 1617s # */ 1617s # void 1617s # com_acme_coyote_emit_surprised ( 1617s # ComAcmeCoyote *object) 1617s # { 1617s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_run ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Run", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_run(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_run_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_run_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_run_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Run", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_sleep ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Sleep", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_sleep_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_sleep_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_sleep_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Sleep", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1617s # */ 1617s # void 1617s # com_acme_coyote_call_attack ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1617s # "Attack", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # callback, 1617s # user_data); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack_finish: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_call_attack(). 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_attack_finish ( 1617s # ComAcmeCoyote *proxy, 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_call_attack_sync: 1617s # * @proxy: A #ComAcmeCoyoteProxy. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL. 1617s # * 1617s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1617s # * 1617s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1617s # */ 1617s # gboolean 1617s # com_acme_coyote_call_attack_sync ( 1617s # ComAcmeCoyote *proxy, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GVariant *_ret; 1617s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1617s # "Attack", 1617s # g_variant_new ("()"), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # cancellable, 1617s # error); 1617s # if (_ret == NULL) 1617s # goto _out; 1617s # g_variant_get (_ret, 1617s # "()"); 1617s # g_variant_unref (_ret); 1617s # _out: 1617s # return _ret != NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_run: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_run ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_sleep: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_sleep ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_complete_attack: 1617s # * @object: A #ComAcmeCoyote. 1617s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1617s # * 1617s # * 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. 1617s # * 1617s # * This method will free @invocation, you cannot use it afterwards. 1617s # */ 1617s # void 1617s # com_acme_coyote_complete_attack ( 1617s # ComAcmeCoyote *object G_GNUC_UNUSED, 1617s # GDBusMethodInvocation *invocation) 1617s # { 1617s # g_dbus_method_invocation_return_value (invocation, 1617s # g_variant_new ("()")); 1617s # } 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteProxy: 1617s # * 1617s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteProxyClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #ComAcmeCoyoteProxy. 1617s # */ 1617s # 1617s # struct _ComAcmeCoyoteProxyPrivate 1617s # { 1617s # GData *qdata; 1617s # }; 1617s # 1617s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1617s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # com_acme_coyote_proxy_finalize (GObject *object) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1617s # g_datalist_clear (&proxy->priv->qdata); 1617s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_get_property (GObject *object, 1617s # guint prop_id, 1617s # GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *variant; 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1617s # if (info->use_gvariant) 1617s # { 1617s # g_value_set_variant (value, variant); 1617s # } 1617s # else 1617s # { 1617s # if (variant != NULL) 1617s # g_dbus_gvariant_to_gvalue (variant, value); 1617s # } 1617s # if (variant != NULL) 1617s # g_variant_unref (variant); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1617s # GAsyncResult *res, 1617s # gpointer user_data) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info = user_data; 1617s # GError *error; 1617s # GVariant *_ret; 1617s # error = NULL; 1617s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1617s # if (!_ret) 1617s # { 1617s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1617s # info->parent_struct.name, 1617s # error->message, g_quark_to_string (error->domain), error->code); 1617s # g_error_free (error); 1617s # } 1617s # else 1617s # { 1617s # g_variant_unref (_ret); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_set_property (GObject *object, 1617s # guint prop_id, 1617s # const GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *variant; 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1617s # "org.freedesktop.DBus.Properties.Set", 1617s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1617s # G_DBUS_CALL_FLAGS_NONE, 1617s # -1, 1617s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1617s # g_variant_unref (variant); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1617s # const gchar *sender_name G_GNUC_UNUSED, 1617s # const gchar *signal_name, 1617s # GVariant *parameters) 1617s # { 1617s # _ExtendedGDBusSignalInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # gsize n; 1617s # guint signal_id; 1617s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1617s # if (info == NULL) 1617s # return; 1617s # num_params = g_variant_n_children (parameters); 1617s # paramv = g_new0 (GValue, num_params + 1); 1617s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1617s # g_value_set_object (¶mv[0], proxy); 1617s # g_variant_iter_init (&iter, parameters); 1617s # n = 1; 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1617s # g_signal_emitv (paramv, signal_id, 0, NULL); 1617s # for (n = 0; n < num_params + 1; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1617s # GVariant *changed_properties, 1617s # const gchar *const *invalidated_properties) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1617s # guint n; 1617s # const gchar *key; 1617s # GVariantIter *iter; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # g_variant_get (changed_properties, "a{sv}", &iter); 1617s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1617s # g_datalist_remove_data (&proxy->priv->qdata, key); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # g_variant_iter_free (iter); 1617s # for (n = 0; invalidated_properties[n] != NULL; n++) 1617s # { 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1617s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1617s # if (info != NULL) 1617s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1617s # } 1617s # } 1617s # 1617s # static const gchar * 1617s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1617s # GVariant *variant; 1617s # const gchar *value = NULL; 1617s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1617s # if (variant != NULL) 1617s # { 1617s # value = g_variant_get_string (variant, NULL); 1617s # g_variant_unref (variant); 1617s # } 1617s # return value; 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1617s # #else 1617s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1617s # #endif 1617s # 1617s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusProxyClass *proxy_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1617s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1617s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1617s # 1617s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1617s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1617s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1617s # 1617s # com_acme_coyote_override_properties (gobject_class, 1); 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # com_acme_coyote_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_sync: 1617s # * @connection: A #GDBusConnection. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1617s # * @user_data: User data to pass to @callback. 1617s # * 1617s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1617s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1617s # * 1617s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1617s # */ 1617s # void 1617s # com_acme_coyote_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data) 1617s # { 1617s # 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); 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus_finish: 1617s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error) 1617s # { 1617s # GObject *ret; 1617s # GObject *source_object; 1617s # source_object = g_async_result_get_source_object (res); 1617s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1617s # g_object_unref (source_object); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_proxy_new_for_bus_sync: 1617s # * @bus_type: A #GBusType. 1617s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1617s # * @name: A bus name (well-known or unique). 1617s # * @object_path: An object path. 1617s # * @cancellable: (nullable): A #GCancellable or %NULL. 1617s # * @error: Return location for error or %NULL 1617s # * 1617s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1617s # * 1617s # * The calling thread is blocked until a reply is received. 1617s # * 1617s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error) 1617s # { 1617s # GInitable *ret; 1617s # 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); 1617s # if (ret != NULL) 1617s # return COM_ACME_COYOTE (ret); 1617s # else 1617s # return NULL; 1617s # } 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteSkeleton: 1617s # * 1617s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1617s # */ 1617s # 1617s # /** 1617s # * ComAcmeCoyoteSkeletonClass: 1617s # * @parent_class: The parent class. 1617s # * 1617s # * Class structure for #ComAcmeCoyoteSkeleton. 1617s # */ 1617s # 1617s # struct _ComAcmeCoyoteSkeletonPrivate 1617s # { 1617s # GValue *properties; 1617s # GList *changed_properties; 1617s # GSource *changed_properties_idle_source; 1617s # GMainContext *context; 1617s # GMutex lock; 1617s # }; 1617s # 1617s # static void 1617s # _com_acme_coyote_skeleton_handle_method_call ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name, 1617s # const gchar *method_name, 1617s # GVariant *parameters, 1617s # GDBusMethodInvocation *invocation, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # _ExtendedGDBusMethodInfo *info; 1617s # GVariantIter iter; 1617s # GVariant *child; 1617s # GValue *paramv; 1617s # gsize num_params; 1617s # guint num_extra; 1617s # gsize n; 1617s # guint signal_id; 1617s # GValue return_value = G_VALUE_INIT; 1617s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1617s # g_assert (info != NULL); 1617s # num_params = g_variant_n_children (parameters); 1617s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1617s # n = 0; 1617s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1617s # g_value_set_object (¶mv[n++], skeleton); 1617s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1617s # g_value_set_object (¶mv[n++], invocation); 1617s # if (info->pass_fdlist) 1617s # { 1617s # #ifdef G_OS_UNIX 1617s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1617s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1617s # #else 1617s # g_assert_not_reached (); 1617s # #endif 1617s # } 1617s # g_variant_iter_init (&iter, parameters); 1617s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1617s # { 1617s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1617s # if (arg_info->use_gvariant) 1617s # { 1617s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1617s # g_value_set_variant (¶mv[n], child); 1617s # n++; 1617s # } 1617s # else 1617s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1617s # g_variant_unref (child); 1617s # } 1617s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1617s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1617s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1617s # if (!g_value_get_boolean (&return_value)) 1617s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1617s # g_value_unset (&return_value); 1617s # for (n = 0; n < num_params + num_extra; n++) 1617s # g_value_unset (¶mv[n]); 1617s # g_free (paramv); 1617s # } 1617s # 1617s # static GVariant * 1617s # _com_acme_coyote_skeleton_handle_get_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # GVariant *ret; 1617s # ret = NULL; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # g_value_init (&value, pspec->value_type); 1617s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1617s # g_value_unset (&value); 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static gboolean 1617s # _com_acme_coyote_skeleton_handle_set_property ( 1617s # GDBusConnection *connection G_GNUC_UNUSED, 1617s # const gchar *sender G_GNUC_UNUSED, 1617s # const gchar *object_path G_GNUC_UNUSED, 1617s # const gchar *interface_name G_GNUC_UNUSED, 1617s # const gchar *property_name, 1617s # GVariant *variant, 1617s # GError **error, 1617s # gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GValue value = G_VALUE_INIT; 1617s # GParamSpec *pspec; 1617s # _ExtendedGDBusPropertyInfo *info; 1617s # gboolean ret; 1617s # ret = FALSE; 1617s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1617s # g_assert (info != NULL); 1617s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1617s # if (pspec == NULL) 1617s # { 1617s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1617s # } 1617s # else 1617s # { 1617s # if (info->use_gvariant) 1617s # g_value_set_variant (&value, variant); 1617s # else 1617s # g_dbus_gvariant_to_gvalue (variant, &value); 1617s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1617s # g_value_unset (&value); 1617s # ret = TRUE; 1617s # } 1617s # return ret; 1617s # } 1617s # 1617s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1617s # { 1617s # _com_acme_coyote_skeleton_handle_method_call, 1617s # _com_acme_coyote_skeleton_handle_get_property, 1617s # _com_acme_coyote_skeleton_handle_set_property, 1617s # {NULL} 1617s # }; 1617s # 1617s # static GDBusInterfaceInfo * 1617s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return com_acme_coyote_interface_info (); 1617s # } 1617s # 1617s # static GDBusInterfaceVTable * 1617s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1617s # { 1617s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1617s # } 1617s # 1617s # static GVariant * 1617s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1617s # 1617s # GVariantBuilder builder; 1617s # guint n; 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #else 1617s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # #endif 1617s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1617s # goto out; 1617s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1617s # { 1617s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1617s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1617s # { 1617s # GVariant *value; 1617s # 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); 1617s # if (value != NULL) 1617s # { 1617s # g_variant_take_ref (value); 1617s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1617s # g_variant_unref (value); 1617s # } 1617s # } 1617s # } 1617s # out: 1617s # return g_variant_builder_end (&builder); 1617s # } 1617s # 1617s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1617s # gboolean emit_changed = FALSE; 1617s # 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # { 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # skeleton->priv->changed_properties_idle_source = NULL; 1617s # emit_changed = TRUE; 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # 1617s # if (emit_changed) 1617s # _com_acme_coyote_emit_changed (skeleton); 1617s # } 1617s # 1617s # static void 1617s # _com_acme_coyote_on_signal_surprised ( 1617s # ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # 1617s # GList *connections, *l; 1617s # GVariant *signal_variant; 1617s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1617s # 1617s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1617s # for (l = connections; l != NULL; l = l->next) 1617s # { 1617s # GDBusConnection *connection = l->data; 1617s # g_dbus_connection_emit_signal (connection, 1617s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1617s # signal_variant, NULL); 1617s # } 1617s # g_variant_unref (signal_variant); 1617s # g_list_free_full (connections, g_object_unref); 1617s # } 1617s # 1617s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1617s # 1617s # #else 1617s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1617s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1617s # 1617s # #endif 1617s # static void 1617s # com_acme_coyote_skeleton_finalize (GObject *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # guint n; 1617s # for (n = 0; n < 1; n++) 1617s # g_value_unset (&skeleton->priv->properties[n]); 1617s # g_free (skeleton->priv->properties); 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # if (skeleton->priv->changed_properties_idle_source != NULL) 1617s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1617s # g_main_context_unref (skeleton->priv->context); 1617s # g_mutex_clear (&skeleton->priv->lock); 1617s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_get_property (GObject *object, 1617s # guint prop_id, 1617s # GValue *value, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # } 1617s # 1617s # static gboolean 1617s # _com_acme_coyote_emit_changed (gpointer user_data) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1617s # GList *l; 1617s # GVariantBuilder builder; 1617s # GVariantBuilder invalidated_builder; 1617s # guint num_changes; 1617s # 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1617s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1617s # #else 1617s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1617s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1617s # #endif 1617s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1617s # { 1617s # ChangedProperty *cp = l->data; 1617s # GVariant *variant; 1617s # const GValue *cur_value; 1617s # 1617s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1617s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1617s # { 1617s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1617s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1617s # g_variant_unref (variant); 1617s # num_changes++; 1617s # } 1617s # } 1617s # if (num_changes > 0) 1617s # { 1617s # GList *connections, *ll; 1617s # GVariant *signal_variant; 1617s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1617s # &builder, &invalidated_builder)); 1617s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1617s # for (ll = connections; ll != NULL; ll = ll->next) 1617s # { 1617s # GDBusConnection *connection = ll->data; 1617s # 1617s # g_dbus_connection_emit_signal (connection, 1617s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1617s # "org.freedesktop.DBus.Properties", 1617s # "PropertiesChanged", 1617s # signal_variant, 1617s # NULL); 1617s # } 1617s # g_variant_unref (signal_variant); 1617s # g_list_free_full (connections, g_object_unref); 1617s # } 1617s # else 1617s # { 1617s # g_variant_builder_clear (&builder); 1617s # g_variant_builder_clear (&invalidated_builder); 1617s # } 1617s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1617s # skeleton->priv->changed_properties = NULL; 1617s # skeleton->priv->changed_properties_idle_source = NULL; 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # return FALSE; 1617s # } 1617s # 1617s # static void 1617s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1617s # { 1617s # ChangedProperty *cp; 1617s # GList *l; 1617s # cp = NULL; 1617s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1617s # { 1617s # ChangedProperty *i_cp = l->data; 1617s # if (i_cp->info == info) 1617s # { 1617s # cp = i_cp; 1617s # break; 1617s # } 1617s # } 1617s # if (cp == NULL) 1617s # { 1617s # cp = g_new0 (ChangedProperty, 1); 1617s # cp->prop_id = prop_id; 1617s # cp->info = info; 1617s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1617s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1617s # g_value_copy (orig_value, &cp->orig_value); 1617s # } 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_notify (GObject *object, 1617s # GParamSpec *pspec G_GNUC_UNUSED) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # if (skeleton->priv->changed_properties != NULL && 1617s # skeleton->priv->changed_properties_idle_source == NULL) 1617s # { 1617s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1617s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1617s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1617s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1617s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1617s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_set_property (GObject *object, 1617s # guint prop_id, 1617s # const GValue *value, 1617s # GParamSpec *pspec) 1617s # { 1617s # const _ExtendedGDBusPropertyInfo *info; 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1617s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # g_object_freeze_notify (object); 1617s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1617s # { 1617s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1617s # info->emits_changed_signal) 1617s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1617s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1617s # g_object_notify_by_pspec (object, pspec); 1617s # } 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # g_object_thaw_notify (object); 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1617s # { 1617s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1617s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1617s # #else 1617s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1617s # #endif 1617s # 1617s # g_mutex_init (&skeleton->priv->lock); 1617s # skeleton->priv->context = g_main_context_ref_thread_default (); 1617s # skeleton->priv->properties = g_new0 (GValue, 1); 1617s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1617s # } 1617s # 1617s # static const gchar * 1617s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1617s # { 1617s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1617s # const gchar *value; 1617s # g_mutex_lock (&skeleton->priv->lock); 1617s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1617s # g_mutex_unlock (&skeleton->priv->lock); 1617s # return value; 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1617s # { 1617s # GObjectClass *gobject_class; 1617s # GDBusInterfaceSkeletonClass *skeleton_class; 1617s # 1617s # gobject_class = G_OBJECT_CLASS (klass); 1617s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1617s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1617s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1617s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1617s # 1617s # 1617s # com_acme_coyote_override_properties (gobject_class, 1); 1617s # 1617s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1617s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1617s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1617s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1617s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1617s # 1617s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1617s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1617s # #endif 1617s # } 1617s # 1617s # static void 1617s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1617s # { 1617s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1617s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1617s # } 1617s # 1617s # /** 1617s # * com_acme_coyote_skeleton_new: 1617s # * 1617s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1617s # * 1617s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1617s # */ 1617s # ComAcmeCoyote * 1617s # com_acme_coyote_skeleton_new (void) 1617s # { 1617s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1617s # } 1617s # Error: 1617s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1617s # gdbus-codegen: /usr/bin/gdbus-codegen 1617s # tmpdir: /tmp/tmp393g78q7 1617s # /tmp/tmp393g78q7/tmptksqec35.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp393g78q7/tmptksqec35.xml', '--output', '-', '--header'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifndef __STDOUT__ 1617s # #define __STDOUT__ 1617s # 1617s # #include 1617s # 1617s # G_BEGIN_DECLS 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for FDPassing */ 1617s # 1617s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1617s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1617s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1617s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1617s # 1617s # struct _FDPassing; 1617s # typedef struct _FDPassing FDPassing; 1617s # typedef struct _FDPassingIface FDPassingIface; 1617s # 1617s # struct _FDPassingIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # gboolean (*handle_hello_fd) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *arg_greeting); 1617s # 1617s # gboolean (*handle_no_annotation) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale); 1617s # 1617s # gboolean (*handle_no_annotation_nested) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *arg_files); 1617s # 1617s # }; 1617s # 1617s # GType fdpassing_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1617s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void fdpassing_complete_hello_fd ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *response); 1617s # 1617s # void fdpassing_complete_no_annotation ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *response, 1617s # const gchar *response_locale); 1617s # 1617s # void fdpassing_complete_no_annotation_nested ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void fdpassing_call_hello_fd ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GUnixFDList *fd_list, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_hello_fd_finish ( 1617s # FDPassing *proxy, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_hello_fd_sync ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GUnixFDList *fd_list, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_finish ( 1617s # FDPassing *proxy, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation_nested ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_finish ( 1617s # FDPassing *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1617s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1617s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1617s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1617s # 1617s # typedef struct _FDPassingProxy FDPassingProxy; 1617s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1617s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1617s # 1617s # struct _FDPassingProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # FDPassingProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void fdpassing_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1617s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1617s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1617s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1617s # 1617s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1617s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1617s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1617s # 1617s # struct _FDPassingSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # FDPassingSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # FDPassing *fdpassing_skeleton_new (void); 1617s # 1617s # 1617s # G_END_DECLS 1617s # 1617s # #endif /* __STDOUT__ */ 1617s # Error: 1617s # 1617s # /tmp/tmp393g78q7/tmph978rrrg.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp393g78q7/tmph978rrrg.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifndef __STDOUT__ 1617s # #define __STDOUT__ 1617s # 1617s # #include 1617s # 1617s # G_BEGIN_DECLS 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for FDPassing */ 1617s # 1617s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1617s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1617s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1617s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1617s # 1617s # struct _FDPassing; 1617s # typedef struct _FDPassing FDPassing; 1617s # typedef struct _FDPassingIface FDPassingIface; 1617s # 1617s # struct _FDPassingIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # gboolean (*handle_hello_fd) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *arg_greeting); 1617s # 1617s # gboolean (*handle_no_annotation) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale); 1617s # 1617s # gboolean (*handle_no_annotation_nested) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *arg_files); 1617s # 1617s # }; 1617s # 1617s # GType fdpassing_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1617s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void fdpassing_complete_hello_fd ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *response); 1617s # 1617s # void fdpassing_complete_no_annotation ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GVariant *response, 1617s # const gchar *response_locale); 1617s # 1617s # void fdpassing_complete_no_annotation_nested ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void fdpassing_call_hello_fd ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GUnixFDList *fd_list, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_hello_fd_finish ( 1617s # FDPassing *proxy, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_hello_fd_sync ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GUnixFDList *fd_list, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_finish ( 1617s # FDPassing *proxy, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation_nested ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_finish ( 1617s # FDPassing *proxy, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1617s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1617s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1617s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1617s # 1617s # typedef struct _FDPassingProxy FDPassingProxy; 1617s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1617s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1617s # 1617s # struct _FDPassingProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # FDPassingProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void fdpassing_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1617s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1617s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1617s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1617s # 1617s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1617s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1617s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1617s # 1617s # struct _FDPassingSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # FDPassingSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # FDPassing *fdpassing_skeleton_new (void); 1617s # 1617s # 1617s # G_END_DECLS 1617s # 1617s # #endif /* __STDOUT__ */ 1617s # Error: 1617s # 1617s # /tmp/tmp393g78q7/tmp0n6qvzu3.xml: 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # 1617s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp393g78q7/tmp0n6qvzu3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1617s # Return code: 0 1617s # Output: 1617s # /* 1617s # * This file is generated by gdbus-codegen, do not modify it. 1617s # * 1617s # * The license of this code is the same as for the D-Bus interface description 1617s # * it was derived from. Note that it links to GLib, so must comply with the 1617s # * LGPL linking clauses. 1617s # */ 1617s # 1617s # #ifndef __STDOUT__ 1617s # #define __STDOUT__ 1617s # 1617s # #include 1617s # 1617s # G_BEGIN_DECLS 1617s # 1617s # 1617s # /* ------------------------------------------------------------------------ */ 1617s # /* Declarations for FDPassing */ 1617s # 1617s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1617s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1617s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1617s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1617s # 1617s # struct _FDPassing; 1617s # typedef struct _FDPassing FDPassing; 1617s # typedef struct _FDPassingIface FDPassingIface; 1617s # 1617s # struct _FDPassingIface 1617s # { 1617s # GTypeInterface parent_iface; 1617s # 1617s # gboolean (*handle_hello_fd) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *arg_greeting); 1617s # 1617s # gboolean (*handle_no_annotation) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale); 1617s # 1617s # gboolean (*handle_no_annotation_nested) ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # GVariant *arg_files); 1617s # 1617s # }; 1617s # 1617s # GType fdpassing_get_type (void) G_GNUC_CONST; 1617s # 1617s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1617s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1617s # 1617s # 1617s # /* D-Bus method call completion functions: */ 1617s # void fdpassing_complete_hello_fd ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # const gchar *response); 1617s # 1617s # void fdpassing_complete_no_annotation ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list, 1617s # GVariant *response, 1617s # const gchar *response_locale); 1617s # 1617s # void fdpassing_complete_no_annotation_nested ( 1617s # FDPassing *object, 1617s # GDBusMethodInvocation *invocation, 1617s # GUnixFDList *fd_list); 1617s # 1617s # 1617s # 1617s # /* D-Bus method calls: */ 1617s # void fdpassing_call_hello_fd ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_hello_fd_finish ( 1617s # FDPassing *proxy, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_hello_fd_sync ( 1617s # FDPassing *proxy, 1617s # const gchar *arg_greeting, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # gchar **out_response, 1617s # GUnixFDList **out_fd_list, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_finish ( 1617s # FDPassing *proxy, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GUnixFDList **out_fd_list, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_greeting, 1617s # const gchar *arg_greeting_locale, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # GVariant **out_response, 1617s # gchar **out_response_locale, 1617s # GUnixFDList **out_fd_list, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_call_no_annotation_nested ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_finish ( 1617s # FDPassing *proxy, 1617s # GUnixFDList **out_fd_list, 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # 1617s # gboolean fdpassing_call_no_annotation_nested_sync ( 1617s # FDPassing *proxy, 1617s # GVariant *arg_files, 1617s # GDBusCallFlags call_flags, 1617s # gint timeout_msec, 1617s # GUnixFDList *fd_list, 1617s # GUnixFDList **out_fd_list, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1617s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1617s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1617s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1617s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1617s # 1617s # typedef struct _FDPassingProxy FDPassingProxy; 1617s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1617s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1617s # 1617s # struct _FDPassingProxy 1617s # { 1617s # /*< private >*/ 1617s # GDBusProxy parent_instance; 1617s # FDPassingProxyPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingProxyClass 1617s # { 1617s # GDBusProxyClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1617s # #endif 1617s # 1617s # void fdpassing_proxy_new ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_sync ( 1617s # GDBusConnection *connection, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # void fdpassing_proxy_new_for_bus ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GAsyncReadyCallback callback, 1617s # gpointer user_data); 1617s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1617s # GAsyncResult *res, 1617s # GError **error); 1617s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1617s # GBusType bus_type, 1617s # GDBusProxyFlags flags, 1617s # const gchar *name, 1617s # const gchar *object_path, 1617s # GCancellable *cancellable, 1617s # GError **error); 1617s # 1617s # 1617s # /* ---- */ 1617s # 1617s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1617s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1617s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1617s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1617s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1617s # 1617s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1617s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1617s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1617s # 1617s # struct _FDPassingSkeleton 1617s # { 1617s # /*< private >*/ 1617s # GDBusInterfaceSkeleton parent_instance; 1617s # FDPassingSkeletonPrivate *priv; 1617s # }; 1617s # 1617s # struct _FDPassingSkeletonClass 1617s # { 1617s # GDBusInterfaceSkeletonClass parent_class; 1617s # }; 1617s # 1617s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1617s # 1617s # #if GLIB_CHECK_VERSION(2, 44, 0) 1617s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1617s # #endif 1617s # 1617s # FDPassing *fdpassing_skeleton_new (void); 1617s # 1617s # 1617s # G_END_DECLS 1617s # 1617s # #endif /* __STDOUT__ */ 1617s # Error: 1617s 1..39 1617s ok - glib/codegen.py.test 1617s # Running test: glib/win32-appinfo.test 1617s TAP version 14 1617s # random seed: R02S97fd12efed7b55a94013ac198077689b 1617s 1..5 1617s # Start of appinfo tests 1617s ok 1 /appinfo/utf16-strfuncs 1617s ok 2 /appinfo/win32-extract-executable 1617s ok 3 /appinfo/win32-rundll32-fixup 1617s ok 4 /appinfo/win32-parse-filename 1617s ok - glib/win32-appinfo.test 1617s ok 5 /appinfo/win32-utf16-conversion-fail 1617s # Start of subprocess tests 1617s # End of subprocess tests 1617s # End of appinfo tests 1617s # Running test: glib/objects-refcount1.test 1617s TAP version 14 1617s # random seed: R02Sc35fa641456fc6df26c88258ef675efc 1617s 1..1 1617s # Start of gobject tests 1617s # Start of refcount tests 1617s # init 0xbc98d773ada0 1617s # 1617s # init 0xbc98d773aeb0 1617s # 1618s # Executing: glib/objects-refcount1.test 1622s ok - glib/objects-refcount1.test 1622s # dispose 0xbc98d773ada0! 1622s # 1622s # dispose 0xbc98d773aeb0! 1622s # 1622s ok 1 /gobject/refcount/object-basics 1622s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1622s # End of refcount tests 1622s # End of gobject tests 1622s # Running test: glib/utils-c-17.test 1622s TAP version 14 1622s # random seed: R02S9bffa9332cf5bf1e59dee25ffdb4d4ef 1622s 1..41 1622s # Start of utils tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/language-names/.dirs/runtime 1622s ok 1 /utils/language-names 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/locale-variants/.dirs/runtime 1622s # Testing locale ‘en’ 1622s # Testing locale ‘sr@latin’ 1622s # Testing locale ‘fr_BE’ 1622s # Testing locale ‘sr_SR@latin’ 1622s # Testing locale ‘sr_SR@latin.UTF-8’ 1622s # Testing locale ‘sr@latin_invalid’ 1622s # Testing locale ‘sr.UTF-8@latin’ 1622s # Testing locale ‘sr.UTF-8_latin’ 1622s # Testing locale ‘sr.UTF-8@latin_invalid’ 1622s ok 2 /utils/locale-variants 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/version/.dirs/runtime 1622s ok 3 /utils/version 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/appname/.dirs/runtime 1622s ok 4 /utils/appname 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/prgname-thread-safety/.dirs/runtime 1622s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1622s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1622s ok 5 /utils/prgname-thread-safety 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir/.dirs/runtime 1622s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1622s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/tmpdir: No such file or directory 1622s ok 6 /utils/tmpdir 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/basic_bits/.dirs/runtime 1622s ok 7 /utils/basic_bits 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/bits/.dirs/runtime 1622s ok 8 /utils/bits 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/swap/.dirs/runtime 1622s ok 9 /utils/swap 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/find-program/.dirs/runtime 1622s ok 10 /utils/find-program 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/find-program-for-path/.dirs/runtime 1622s ok 11 /utils/find-program-for-path 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/debug/.dirs/runtime 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/debug: No such file or directory 1622s ok 12 /utils/debug 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/codeset/.dirs/runtime 1622s ok 13 /utils/codeset 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/codeset2/.dirs/runtime 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/codeset2: No such file or directory 1622s ok 14 /utils/codeset2 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/console-charset/.dirs/runtime 1622s ok 15 /utils/console-charset 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/gettext/.dirs/runtime 1622s ok 16 /utils/gettext 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/username/.dirs/runtime 1622s ok 17 /utils/username 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/realname/.dirs/runtime 1622s ok 18 /utils/realname 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/hostname/.dirs/runtime 1622s ok 19 /utils/hostname 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/os-info/.dirs/runtime 1622s # NAME: Ubuntu 1622s ok 20 /utils/os-info 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/.dirs/runtime 1622s ok 21 /utils/clear-pointer 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer-cast/.dirs/runtime 1622s ok 22 /utils/clear-pointer-cast 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/take-pointer/.dirs/runtime 1622s ok 23 /utils/take-pointer 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-source/.dirs/runtime 1622s ok 24 /utils/clear-source 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/misc-mem/.dirs/runtime 1622s ok 25 /utils/misc-mem 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/.dirs/runtime 1622s # /utils/aligned-mem summary: Aligned memory allocator 1622s # Alignment must not be zero 1622s # Alignment must be a power of two 1622s # Alignment must be a multiple of sizeof(void*) 1622s ok 26 /utils/aligned-mem 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/free-sized/.dirs/runtime 1622s # /utils/free-sized summary: Check that g_free_sized() works 1622s ok 27 /utils/free-sized 1622s ok - glib/utils-c-17.test 1622s # Running test: glib/live-g-file.test 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/nullify/.dirs/runtime 1622s ok 28 /utils/nullify 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/atexit/.dirs/runtime 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/atexit: No such file or directory 1622s ok 29 /utils/atexit 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/check-setuid/.dirs/runtime 1622s ok 30 /utils/check-setuid 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/int-limits/.dirs/runtime 1622s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1622s ok 31 /utils/int-limits 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-list/.dirs/runtime 1622s ok 32 /utils/clear-list 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-slist/.dirs/runtime 1622s ok 33 /utils/clear-slist 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/steal-handle-id/.dirs/runtime 1622s ok 34 /utils/steal-handle-id 1622s # Start of user-special-dirs tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/desktop/.dirs/runtime 1622s ok 35 /utils/user-special-dirs/desktop 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1622s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1622s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1622s ok 36 /utils/user-special-dirs/load-unlocked 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1622s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1622s Unable to clean up temporary directory /tmp/test_utils-c-17_YA8NJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1622s ok 37 /utils/user-special-dirs/reload-leaks 1622s # End of user-special-dirs tests 1622s # Start of clear-pointer tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/clear-pointer/side-effects/.dirs/runtime 1622s ok 38 /utils/clear-pointer/side-effects 1622s # End of clear-pointer tests 1622s # Start of aligned-mem tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/alignment/.dirs/runtime 1622s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1622s ok 39 /utils/aligned-mem/alignment 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/zeroed/.dirs/runtime 1622s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1622s ok 40 /utils/aligned-mem/zeroed 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_YA8NJ3/utils/aligned-mem/free-sized/.dirs/runtime 1622s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1622s ok 41 /utils/aligned-mem/free-sized 1622s # Start of subprocess tests 1622s # End of subprocess tests 1622s # End of aligned-mem tests 1622s # End of utils tests 1622s TAP version 14 1622s # random seed: R02S4733488518c02ec647f83054558ba11d 1622s 1..13 1622s # Start of live-g-file tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/prep_clean_structure/.dirs/runtime 1622s # Cleaning target testing structure in '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1622s ok 1 /live-g-file/prep_clean_structure 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/create_structure/.dirs/runtime 1622s # 1622s # Going to create testing structure in '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # Creating directory 'dir1'... 1622s # Creating directory 'dir1/subdir'... 1622s # Creating directory 'dir2'... 1622s # Creating directory 'dir-target'... 1622s # Creating directory 'dir_no-access'... 1622s # Creating directory 'dir_no-write'... 1622s # Creating file 'target-file'... 1622s # Creating file 'normal_file'... 1622s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1622s # Creating file 'executable_file'... 1622s # Creating file 'private_file'... 1622s # Creating file 'normal_file2'... 1622s # Creating file 'readonly_file'... 1622s # Creating file 'UTF_příliš z'... 1622s # Creating directory 'dir_příliš z'... 1622s # Creating symlink 'lost_symlink' --> 'nowhere'... 1622s # Creating directory 'dir_hidden'... 1622s # Creating file 'dir_hidden/.a-hidden-file'... 1622s # Creating file 'dir_hidden/file-in-.hidden1'... 1622s # Creating file 'dir_hidden/file-in-.hidden2'... 1622s # Creating pattern file... 1622s # done. 1622s ok 2 /live-g-file/create_structure 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_initial_structure/.dirs/runtime 1622s # Testing sample structure in '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # Testing file 'dir1'... 1622s # Testing file 'dir1/subdir'... 1622s # Testing file 'dir2'... 1622s # Testing file 'dir-target'... 1622s # Testing file 'dir_no-access'... 1622s # Testing file 'dir_no-write'... 1622s # Testing file 'target-file'... 1622s # Testing file 'normal_file'... 1622s # Testing file 'normal_file-symlink'... 1622s # Testing file 'executable_file'... 1622s # Testing file 'private_file'... 1622s # Testing file 'normal_file2'... 1622s # Testing file 'readonly_file'... 1622s # Testing file 'UTF_příliš z'... 1622s # Testing file 'dir_příliš z'... 1622s # Testing file 'lost_symlink'... 1622s # Testing file 'dir_hidden'... 1622s # Testing file 'dir_hidden/.a-hidden-file'... 1622s # Testing file 'dir_hidden/file-in-.hidden1'... 1622s # Testing file 'dir_hidden/file-in-.hidden2'... 1622s # Testing pattern file... 1622s # read 65536 bytes, total = 65536 of 65536. 1622s ok 3 /live-g-file/test_initial_structure 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_traverse_structure/.dirs/runtime 1622s # Traversing through the sample structure in '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # Found file dir1, relative to root: dir1 1622s # Found file subdir, relative to root: dir1/subdir 1622s # Found file dir2, relative to root: dir2 1622s # Found file dir-target, relative to root: dir-target 1622s # Found file dir_no-access, relative to root: dir_no-access 1622s # Found file dir_no-write, relative to root: dir_no-write 1622s # Found file target-file, relative to root: target-file 1622s # Found file normal_file, relative to root: normal_file 1622s # Found file normal_file-symlink, relative to root: normal_file-symlink 1622s # Found file executable_file, relative to root: executable_file 1622s # Found file private_file, relative to root: private_file 1622s # Found file normal_file2, relative to root: normal_file2 1622s # Found file readonly_file, relative to root: readonly_file 1622s # Found file UTF_příliš z, relative to root: UTF_příliš z 1622s # Found file dir_příliš z, relative to root: dir_příliš z 1622s # Found file lost_symlink, relative to root: lost_symlink 1622s # Found file dir_hidden, relative to root: dir_hidden 1622s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1622s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1622s # Found file .hidden, relative to root: dir_hidden/.hidden 1622s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1622s # Found file pattern_file, relative to root: pattern_file 1622s ok 4 /live-g-file/test_traverse_structure 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_enumerate/.dirs/runtime 1622s # Test enumerate '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # Testing file 'dir_no-access' 1622s # Testing file 'normal_file' 1622s # Testing file 'normal_file-symlink' 1622s # Testing file 'not_exists' 1622s # Testing file 'not_exists' 1622s # Testing file 'not_exists2' 1622s # Testing file 'not_exists3' 1622s # Testing file 'not_exists4' 1622s # Testing file 'dir_no-execute/file' 1622s ok 5 /live-g-file/test_enumerate 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_open/.dirs/runtime 1622s # test_open: 'dir1' 1622s # test_open: 'dir_no-access' 1622s # test_open: 'target-file' 1622s # test_open: 'normal_file-symlink' 1622s # test_open: 'executable_file' 1622s # test_open: 'private_file' 1622s # test_open: 'readonly_file' 1622s # test_open: 'UTF_příliš z' 1622s # test_open: 'pattern_file' 1622s # test_open: 'not_exists' 1622s # test_open: 'dir_no-execute/file' 1622s # test_open: 'lost_symlink' 1622s ok 6 /live-g-file/test_open 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_create/.dirs/runtime 1622s # test_create: 'dir1' 1622s # error code 3 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir1”: Is a directory 1622s # test_create: 'dir1/subdir' 1622s # error code 3 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir1/subdir”: Is a directory 1622s # test_create: 'dir2' 1622s # error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir2”: File exists 1622s # test_create: 'normal_file' 1622s # error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/normal_file”: File exists 1622s # test_create: 'executable_file' 1622s # test_create: 'private_file' 1622s # test_create: 'normal_file2' 1622s # test_create: 'UTF_příliš z' 1622s # error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/UTF_příliš z”: File exists 1622s # test_create: 'dir_příliš z' 1622s # error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_příliš z”: File exists 1622s # test_create: 'pattern_file' 1622s # test_create: 'not_exists2' 1622s # test_create: 'not_exists3' 1622s # test_create: 'not_exists4' 1622s ok 7 /live-g-file/test_create 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_copy_move/.dirs/runtime 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> '.' 1622s # res = 0, error code 2 = Target file exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> 'target-file' 1622s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir2' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> 'dir-target' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> '.' 1622s # res = 0, error code 2 = Target file exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> 'target-file' 1622s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/dir-target”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> 'not_exists' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> 'dir_no-access' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'dir-target' --> 'dir_no-write' 1622s # res = 0, error code 25 = Can’t recursively copy directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/target-file”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'target-file' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> '.' 1622s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/normal_file-symlink: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1622s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1622s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'dir-target' 1622s ok - glib/live-g-file.test 1622s # Running test: glib/signals-refcount1.test 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/executable_file”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/executable_file”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'executable_file' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/private_file”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/private_file”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'private_file' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/normal_file2”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/UTF_příliš z”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> '.' 1622s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/pattern_file”: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> 'target-file' 1622s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> 'not_exists' 1622s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'dir-target' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> '.' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'target-file' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'not_exists' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'dir_no-access' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'dir_no-write' 1622s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists”: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'not_exists' --> 'dir-target' 1622s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> 'dir-target' 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> '.' 1622s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/lost_symlink: File exists 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> 'target-file' 1622s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> 'not_exists' 1622s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1622s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1622s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1622s ok 8 /live-g-file/test_copy_move 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_delete/.dirs/runtime 1622s # Deleting dir1, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir1 1622s # result = 0, error = Error removing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir1: Directory not empty 1622s # Deleting dir2, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir2 1622s # result = 0, error = Error removing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir2: No such file or directory 1622s # Deleting executable_file, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/executable_file 1622s # result = 0, error = Error trashing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/executable_file: No such file or directory 1622s # Deleting readonly_file, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/readonly_file 1622s # Deleting dir_příliš z, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_příliš z 1622s # Deleting not_exists, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists 1622s # result = 0, error = Error removing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists: No such file or directory 1622s # Deleting not_exists, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists 1622s # result = 0, error = Error trashing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/not_exists: No such file or directory 1622s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-execute/file 1622s # result = 0, error = Error removing file /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1622s # Deleting lost_symlink, path = /tmp/test_live-g-file_R89MJ3/testdir_live-g-file/lost_symlink 1622s ok 9 /live-g-file/test_delete 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1622s # We do not have CAP_DAC_OVERRIDE or equivalent 1622s ok 10 /live-g-file/test_make_directory_with_parents 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/final_clean/.dirs/runtime 1622s # Cleaning target testing structure in '/tmp/test_live-g-file_R89MJ3/testdir_live-g-file'... 1622s # deleting 'dir1' 1622s # deleting 'subdir' 1622s # deleting 'dir-target' 1622s # deleting 'dir2' 1622s # deleting 'target-file' 1622s # deleting 'normal_file-symlink' 1622s # deleting 'pattern_file' 1622s # deleting 'executable_file' 1622s # deleting 'private_file' 1622s # deleting 'normal_file2' 1622s # deleting 'UTF_příliš z' 1622s # deleting 'lost_symlink' 1622s # deleting 'dir_no-access' 1622s # deleting 'dir_no-write' 1622s # deleting 'target-file' 1622s # deleting 'normal_file' 1622s # deleting 'normal_file-symlink' 1622s # deleting 'executable_file~' 1622s # deleting 'private_file' 1622s # deleting 'normal_file2~' 1622s # deleting 'a' 1622s # deleting 'UTF_příliš z' 1622s # deleting 'dir_hidden' 1622s # deleting '.a-hidden-file' 1622s # deleting 'file-in-.hidden1' 1622s # deleting '.hidden' 1622s # deleting 'file-in-.hidden2' 1622s # deleting 'pattern_file' 1622s # deleting 'executable_file' 1622s # deleting 'normal_file2' 1622s # deleting 'not_exists2' 1622s # deleting 'not_exists3' 1622s # deleting 'not_exists4' 1622s ok 11 /live-g-file/final_clean 1622s # Start of test_unix_is_mountpoint tests 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1622s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_R89MJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1622s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1622s # End of test_unix_is_mountpoint tests 1622s # End of live-g-file tests 1622s TAP version 14 1622s # random seed: R02Se431c8bb49792cb8508d06d3bc3ce442 1622s 1..1 1622s # Start of gobject tests 1622s # Start of refcount tests 1622s # init 0xc294ff8824b0 1622s # 1622s # init 0xc294ff87a580 1622s # 1623s # Executing: glib/signals-refcount1.test 1627s ok - glib/signals-refcount1.test 1627s # Running test: glib/dataset.test 1627s ok - glib/dataset.test 1627s # Running test: glib/bookmarkfile.test 1627s # dispose 0xc294ff8824b0! 1627s # 1627s # dispose 0xc294ff87a580! 1627s # 1627s ok 1 /gobject/refcount/signals 1627s # slow test /gobject/refcount/signals executed in 5.00 secs 1627s # End of refcount tests 1627s # End of gobject tests 1627s TAP version 14 1627s # random seed: R02S46669e819226f1f998fd3d5a1d1136e3 1627s 1..15 1627s # Start of quark tests 1627s ok 1 /quark/basic 1627s ok 2 /quark/string 1627s # End of quark tests 1627s # Start of dataset tests 1627s ok 3 /dataset/basic 1627s ok 4 /dataset/id 1627s ok 5 /dataset/full 1627s ok 6 /dataset/foreach 1627s ok 7 /dataset/destroy 1627s # End of dataset tests 1627s # Start of datalist tests 1627s ok 8 /datalist/id 1627s ok 9 /datalist/recursive-clear 1627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1627s ok 10 /datalist/id-remove-multiple 1627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1627s ok 11 /datalist/id-remove-multiple-destroy-order 1627s ok 12 /datalist/update-atomic 1627s # Start of basic tests 1627s ok 13 /datalist/basic/few 1627s ok 14 /datalist/basic/many 1627s # End of basic tests 1627s # Start of id-remove-multiple tests 1627s ok 15 /datalist/id-remove-multiple/resize 1627s # End of id-remove-multiple tests 1627s # End of datalist tests 1627s TAP version 14 1627s # random seed: R02S5e390d878d31adcfdb7ddf6e8ca330b0 1627s 1..96 1627s # Start of bookmarks tests 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/load-from-data-dirs/.dirs/runtime 1627s ok 1 /bookmarks/load-from-data-dirs 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/to-file/.dirs/runtime 1627s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_WIIVJ3/bookmarkfile-test-5CJVJ3.xbel 1627s # Roundtrip from a valid bookmark file 1627s ok 2 /bookmarks/to-file 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/move-item/.dirs/runtime 1627s ok 3 /bookmarks/move-item 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/corner-cases/.dirs/runtime 1627s ok 4 /bookmarks/corner-cases 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/misc/.dirs/runtime 1627s ok 5 /bookmarks/misc 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/deprecated/.dirs/runtime 1627s ok 6 /bookmarks/deprecated 1627s # Start of parse tests 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1627s ok 7 /bookmarks/parse/fail-29.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1627s ok 8 /bookmarks/parse/fail-14.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1627s ok 9 /bookmarks/parse/fail-38.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1627s ok 10 /bookmarks/parse/fail-02.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1627s ok 11 /bookmarks/parse/fail-28.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1627s ok 12 /bookmarks/parse/valid-02.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1627s ok 13 /bookmarks/parse/fail-42.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1627s ok 14 /bookmarks/parse/fail-18.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1627s ok 15 /bookmarks/parse/fail-13.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1627s ok 16 /bookmarks/parse/fail-33.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1627s ok 17 /bookmarks/parse/fail-40.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1627s ok 18 /bookmarks/parse/fail-06.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1627s ok 19 /bookmarks/parse/fail-07.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1627s ok 20 /bookmarks/parse/fail-30.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1627s ok 21 /bookmarks/parse/fail-23.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1627s ok 22 /bookmarks/parse/fail-39.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1627s ok 23 /bookmarks/parse/fail-20.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1627s ok 24 /bookmarks/parse/fail-31.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1627s ok 25 /bookmarks/parse/fail-01.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1627s ok 26 /bookmarks/parse/fail-27.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1627s ok 27 /bookmarks/parse/fail-04.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1627s ok 28 /bookmarks/parse/fail-32.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1627s ok 29 /bookmarks/parse/fail-41.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1627s ok 30 /bookmarks/parse/fail-05.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1627s ok 31 /bookmarks/parse/valid-01.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1627s ok 32 /bookmarks/parse/fail-03.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1627s ok 33 /bookmarks/parse/valid-03.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1627s ok 34 /bookmarks/parse/fail-26.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1627s ok 35 /bookmarks/parse/fail-37.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1627s ok 36 /bookmarks/parse/fail-10.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1627s ok 37 /bookmarks/parse/fail-09.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1627s ok 38 /bookmarks/parse/fail-36.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1627s ok 39 /bookmarks/parse/fail-21.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1627s ok 40 /bookmarks/parse/fail-25.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1627s ok 41 /bookmarks/parse/fail-16.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1627s ok 42 /bookmarks/parse/fail-19.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1627s ok 43 /bookmarks/parse/fail-11.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1627s ok 44 /bookmarks/parse/fail-24.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1627s ok 45 /bookmarks/parse/fail-17.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1627s ok 46 /bookmarks/parse/fail-35.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1627s ok 47 /bookmarks/parse/fail-08.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1627s ok 48 /bookmarks/parse/fail-34.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1627s ok 49 /bookmarks/parse/fail-12.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1627s ok 50 /bookmarks/parse/fail-22.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1627s ok 51 /bookmarks/parse/fail-15.xbel 1627s # End of parse tests 1627s # Start of copy tests 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1627s ok 52 /bookmarks/copy/fail-29.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1627s ok 53 /bookmarks/copy/fail-14.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1627s ok 54 /bookmarks/copy/fail-38.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1627s ok 55 /bookmarks/copy/fail-02.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1627s ok 56 /bookmarks/copy/fail-28.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1627s ok 57 /bookmarks/copy/valid-02.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1627s ok 58 /bookmarks/copy/fail-42.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1627s ok 59 /bookmarks/copy/fail-18.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1627s ok 60 /bookmarks/copy/fail-13.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1627s ok 61 /bookmarks/copy/fail-33.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1627s ok 62 /bookmarks/copy/fail-40.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1627s ok 63 /bookmarks/copy/fail-06.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1627s ok 64 /bookmarks/copy/fail-07.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1627s ok 65 /bookmarks/copy/fail-30.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1627s ok 66 /bookmarks/copy/fail-23.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1627s ok 67 /bookmarks/copy/fail-39.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1627s ok 68 /bookmarks/copy/fail-20.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1627s ok 69 /bookmarks/copy/fail-31.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1627s ok 70 /bookmarks/copy/fail-01.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1627s ok 71 /bookmarks/copy/fail-27.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1627s ok 72 /bookmarks/copy/fail-04.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1627s ok 73 /bookmarks/copy/fail-32.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1627s ok 74 /bookmarks/copy/fail-41.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1627s ok 75 /bookmarks/copy/fail-05.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1627s ok 76 /bookmarks/copy/valid-01.xbel 1627s ok - glib/bookmarkfile.test 1627s # Running test: glib/mutex.test 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1627s ok 77 /bookmarks/copy/fail-03.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1627s ok 78 /bookmarks/copy/valid-03.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1627s ok 79 /bookmarks/copy/fail-26.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1627s ok 80 /bookmarks/copy/fail-37.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1627s ok 81 /bookmarks/copy/fail-10.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1627s ok 82 /bookmarks/copy/fail-09.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1627s ok 83 /bookmarks/copy/fail-36.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1627s ok 84 /bookmarks/copy/fail-21.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1627s ok 85 /bookmarks/copy/fail-25.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1627s ok 86 /bookmarks/copy/fail-16.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1627s ok 87 /bookmarks/copy/fail-19.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1627s ok 88 /bookmarks/copy/fail-11.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1627s ok 89 /bookmarks/copy/fail-24.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1627s ok 90 /bookmarks/copy/fail-17.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1627s ok 91 /bookmarks/copy/fail-35.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1627s ok 92 /bookmarks/copy/fail-08.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1627s ok 93 /bookmarks/copy/fail-34.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1627s ok 94 /bookmarks/copy/fail-12.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1627s ok 95 /bookmarks/copy/fail-22.xbel 1627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/home 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/cache 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/config 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/data 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/state 1627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_WIIVJ3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1627s ok 96 /bookmarks/copy/fail-15.xbel 1627s # End of copy tests 1627s # End of bookmarks tests 1627s TAP version 14 1627s # random seed: R02S0dc7cdac7e44f44a3209ce53a8c3134e 1627s 1..17 1627s # Start of thread tests 1627s ok 1 /thread/mutex1 1627s ok 2 /thread/mutex2 1627s ok 3 /thread/mutex3 1627s ok 4 /thread/mutex4 1628s # Executing: glib/mutex.test 1630s ok 5 /thread/mutex5 1630s # slow test /thread/mutex5 executed in 3.33 secs 1630s # Start of mutex tests 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1630s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1631s ok 6 /thread/mutex/errno 1631s # Start of perf tests 1631s # max perf: inf mips 1631s ok 7 /thread/mutex/perf/uncontended 1631s # Start of contended tests 1631s # max perf: 2.000000 mips 1631s ok 8 /thread/mutex/perf/contended/1 1631s # max perf: 0.375000 mips 1631s ok 9 /thread/mutex/perf/contended/2 1631s # max perf: 4.000000 mips 1631s ok 10 /thread/mutex/perf/contended/3 1631s # max perf: 5.000000 mips 1631s ok 11 /thread/mutex/perf/contended/4 1631s # max perf: inf mips 1631s ok 12 /thread/mutex/perf/contended/5 1631s # max perf: 3.500000 mips 1631s ok 13 /thread/mutex/perf/contended/6 1631s # max perf: 8.000000 mips 1631s ok 14 /thread/mutex/perf/contended/7 1631s # max perf: 3.000000 mips 1631s ok 15 /thread/mutex/perf/contended/8 1631s # max perf: 3.333333 mips 1631s ok 16 /thread/mutex/perf/contended/9 1631s # max perf: 3.666667 mips 1631s ok 17 /thread/mutex/perf/contended/10 1631s # End of contended tests 1631s # End of perf tests 1631s # End of mutex tests 1631s # End of thread tests 1631s ok - glib/mutex.test 1631s # Running test: glib/signals.test 1631s TAP version 14 1631s # random seed: R02S17386ba17537dbb549bbd18099ad1a1c 1631s 1..31 1631s # Start of gobject tests 1631s # Start of signals tests 1631s ok 1 /gobject/signals/all-types 1631s ok 2 /gobject/signals/variant 1631s ok 3 /gobject/signals/destroy-target-object 1631s ok 4 /gobject/signals/generic-marshaller-1 1631s ok 5 /gobject/signals/generic-marshaller-2 1631s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1631s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1631s ok 8 /gobject/signals/generic-marshaller-int-return 1631s ok 9 /gobject/signals/generic-marshaller-uint-return 1631s ok 10 /gobject/signals/generic-marshaller-interface-return 1631s ok 11 /gobject/signals/custom-marshaller 1631s ok 12 /gobject/signals/connect 1631s ok 13 /gobject/signals/emission-hook 1631s ok 14 /gobject/signals/emitv 1631s ok 15 /gobject/signals/accumulator 1631s # Signal: accumulator-class-first 1631s # Signal: accumulator-class-last 1631s # Signal: accumulator-class-cleanup 1631s # Signal: accumulator-class-first-last 1631s # Signal: accumulator-class-first-last-cleanup 1631s # Signal: accumulator-class-last-cleanup 1631s ok 16 /gobject/signals/accumulator-class 1631s ok 17 /gobject/signals/introspection 1631s ok 18 /gobject/signals/block-handler 1631s ok 19 /gobject/signals/stop-emission 1631s ok 20 /gobject/signals/invocation-hint 1631s ok 21 /gobject/signals/test-disconnection-wrong-object 1631s ok 22 /gobject/signals/clear-signal-handler 1631s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1631s ok 23 /gobject/signals/lookup 1631s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1631s ok 24 /gobject/signals/parse-name 1631s ok 25 /gobject/signals/is-valid-name 1631s ok 26 /gobject/signals/weak-ref-disconnect 1631s # Start of lookup tests 1631s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1631s ok 27 /gobject/signals/lookup/invalid 1631s # End of lookup tests 1631s # Start of parse-name tests 1631s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1631s # Parser input: 1631s # Parser input: 7zip 1631s # Parser input: invalid:signal 1631s # Parser input: simple-detailed:: 1631s # Parser input: simple-detailed: 1631s # Parser input: : 1631s # Parser input: :: 1631s # Parser input: :valid-detail 1631s # Parser input: ::valid-detail 1631s ok 28 /gobject/signals/parse-name/invalid 1631s # End of parse-name tests 1631s # Start of invalid-name tests 1631s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 29 /gobject/signals/invalid-name/colon 1631s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 30 /gobject/signals/invalid-name/first-char 1631s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1631s ok 31 /gobject/signals/invalid-name/empty 1631s # End of invalid-name tests 1631s # End of signals tests 1631s # End of gobject tests 1631s TAP version 14 1631s # random seed: R02Se7c9882cff925ebf9a5c4bf406eee7b0 1631s 1..7 1631s # Start of interface tests 1631s # Start of properties tests 1631s ok 1 /interface/properties/set 1631s ok 2 /interface/properties/notify 1631s ok 3 /interface/properties/find-overridden 1631s ok 4 /interface/properties/list-overridden 1631s ok 5 /interface/properties/find-interface 1631s ok 6 /interface/properties/list-interface 1631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1631s ok 7 /interface/properties/not-overridden 1631s # End of properties tests 1631s # End of interface tests 1631s TAP version 14 1631s # random seed: R02Sc4e4b270141e4783dca3c289b3e721fa 1631s 1..39 1631s # Start of unicode tests 1631s ok 1 /unicode/alnum 1631s ok 2 /unicode/alpha 1631s ok 3 /unicode/break-type 1631s ok 4 /unicode/canonical-decomposition 1631s ok 5 /unicode/casefold 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s # Cannot set locale to lt_LT, skipping 1631s ok 6 /unicode/casemap_and_casefold 1631s ok 7 /unicode/cases 1631s ok 8 /unicode/character-type 1631s ok 9 /unicode/cntrl 1631s ok 10 /unicode/combining-class 1631s # Composing U+000041 and U+000042; expecting U+000000 1631s # Composing U+000041 and U+000000; expecting U+000000 1631s # Composing U+000066 and U+000069; expecting U+000000 1631s # Composing U+000308 and U+000301; expecting U+000000 1631s # Composing U+000f71 and U+000f72; expecting U+000000 1631s # Composing U+00212b and U+000000; expecting U+000000 1631s # Composing U+0000c5 and U+000000; expecting U+000000 1631s # Composing U+002126 and U+000000; expecting U+000000 1631s # Composing U+0003a9 and U+000000; expecting U+000000 1631s # Composing U+000041 and U+00030a; expecting U+0000c5 1631s # Composing U+00006f and U+000302; expecting U+0000f4 1631s # Composing U+001e63 and U+000307; expecting U+001e69 1631s # Composing U+000073 and U+000323; expecting U+001e63 1631s # Composing U+000064 and U+000307; expecting U+001e0b 1631s # Composing U+000064 and U+000323; expecting U+001e0d 1631s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1631s # Composing U+001111 and U+001171; expecting U+00d4cc 1631s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1631s # Composing U+00110e and U+001173; expecting U+00ce20 1631s # Composing U+001100 and U+001160; expecting U+000000 1631s # Composing U+001100 and U+001177; expecting U+000000 1631s # Composing U+00abff and U+0011b6; expecting U+000000 1631s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1631s # Composing U+00ac01 and U+0011b6; expecting U+000000 1631s # Composing U+00d4cc and U+0011a6; expecting U+000000 1631s # Composing U+00d4cc and U+0011c4; expecting U+000000 1631s # Composing U+01611e and U+01611e; expecting U+016121 1631s # Composing U+01611e and U+01611f; expecting U+016123 1631s # Composing U+0000f6 and U+000304; expecting U+00022b 1631s # Composing U+000b47 and U+000b57; expecting U+000b4c 1631s # Composing U+0000a0 and U+000b57; expecting U+000000 1631s # Composing U+016e00 and U+00030a; expecting U+000000 1631s # Composing U+00212b and U+016e00; expecting U+000000 1631s # Composing U+001e63 and U+000306; expecting U+000000 1631s # Composing U+001e63 and U+000304; expecting U+000000 1631s # Composing U+001e63 and U+000b57; expecting U+000000 1631s # Composing U+001e63 and U+000000; expecting U+000000 1631s # Composing U+001e63 and U+0113c2; expecting U+000000 1631s # Composing U+001f01 and U+0113c2; expecting U+000000 1631s # Composing U+00006e and U+000302; expecting U+000000 1631s # Composing U+001e63 and U+01611f; expecting U+000000 1631s # Composing U+01138e and U+0113b8; expecting U+000000 1631s # Composing U+01611e and U+000000; expecting U+000000 1631s # Composing U+000000 and U+01611f; expecting U+000000 1631s # Composing U+011390 and U+0113c2; expecting U+000000 1631s ok 11 /unicode/compose 1631s ok 12 /unicode/decompose 1631s ok - glib/signals.test 1631s # Running test: glib/ifaceproperties.test 1631s ok - glib/ifaceproperties.test 1631s # Running test: glib/unicode.test 1631s ok 13 /unicode/decompose-tail 1631s ok 14 /unicode/defined 1631s ok 15 /unicode/digit 1631s ok 16 /unicode/digit-value 1631s # Fully decomposing U+000041; expecting 1 codepoints 1631s # Fully decomposing U+00fb01; expecting 1 codepoints 1631s # Fully decomposing U+00212b; expecting 2 codepoints 1631s # Fully decomposing U+002126; expecting 1 codepoints 1631s # Fully decomposing U+000344; expecting 2 codepoints 1631s # Fully decomposing U+000f73; expecting 2 codepoints 1631s # Fully decomposing U+0000c5; expecting 2 codepoints 1631s # Fully decomposing U+0000f4; expecting 2 codepoints 1631s # Fully decomposing U+001e69; expecting 3 codepoints 1631s # Fully decomposing U+001e63; expecting 2 codepoints 1631s # Fully decomposing U+001e0b; expecting 2 codepoints 1631s # Fully decomposing U+001e0d; expecting 2 codepoints 1631s # Fully decomposing U+00d4db; expecting 3 codepoints 1631s # Fully decomposing U+00d4cc; expecting 2 codepoints 1631s # Fully decomposing U+00ce31; expecting 3 codepoints 1631s # Fully decomposing U+00ce20; expecting 2 codepoints 1631s ok 17 /unicode/fully-decompose-canonical 1631s ok 18 /unicode/fully-decompose-len 1631s ok 19 /unicode/normalization 1631s ok 20 /unicode/graph 1631s # Testing script Zyyy (code 1517910393) 1631s # Testing script Zinh (code 1516858984) 1631s # Testing script Zmth (code 1517122664) 1631s # Testing script Arab (code 1098015074) 1631s # Testing script Armn (code 1098018158) 1631s # Testing script Beng (code 1113943655) 1631s # Testing script Bopo (code 1114599535) 1631s # Testing script Cher (code 1130915186) 1631s # Testing script Copt (code 1131376756) 1631s # Testing script Cyrl (code 1132032620) 1631s # Testing script Dsrt (code 1148416628) 1631s # Testing script Deva (code 1147500129) 1631s # Testing script Ethi (code 1165256809) 1631s # Testing script Geor (code 1197830002) 1631s # Testing script Goth (code 1198486632) 1631s # Testing script Grek (code 1198679403) 1631s # Testing script Gujr (code 1198877298) 1631s # Testing script Guru (code 1198879349) 1631s # Testing script Hani (code 1214344809) 1631s # Testing script Hang (code 1214344807) 1631s # Testing script Hebr (code 1214603890) 1631s # Testing script Hira (code 1214870113) 1631s # Testing script Knda (code 1265525857) 1631s # Testing script Kana (code 1264676449) 1631s # Testing script Khmr (code 1265134962) 1631s # Testing script Laoo (code 1281453935) 1631s # Testing script Latn (code 1281455214) 1631s # Testing script Mlym (code 1298954605) 1631s # Testing script Mong (code 1299148391) 1631s # Testing script Mymr (code 1299803506) 1631s # Testing script Ogam (code 1332175213) 1631s # Testing script Ital (code 1232363884) 1631s # Testing script Orya (code 1332902241) 1631s # Testing script Runr (code 1383427698) 1631s # Testing script Sinh (code 1399418472) 1631s # Testing script Syrc (code 1400468067) 1631s # Testing script Taml (code 1415671148) 1631s # Testing script Telu (code 1415933045) 1631s # Testing script Thaa (code 1416126817) 1631s # Testing script Thai (code 1416126825) 1631s # Testing script Tibt (code 1416192628) 1631s # Testing script Cans (code 1130458739) 1631s # Testing script Yiii (code 1500080489) 1631s # Testing script Tglg (code 1416064103) 1631s # Testing script Hano (code 1214344815) 1631s # Testing script Buhd (code 1114990692) 1631s # Testing script Tagb (code 1415669602) 1631s # Testing script Brai (code 1114792297) 1631s # Testing script Cprt (code 1131442804) 1631s # Testing script Limb (code 1281977698) 1631s # Testing script Osma (code 1332964705) 1631s # Testing script Shaw (code 1399349623) 1631s # Testing script Linb (code 1281977954) 1631s # Testing script Tale (code 1415670885) 1631s # Testing script Ugar (code 1432838514) 1631s # Testing script Talu (code 1415670901) 1631s # Testing script Bugi (code 1114990441) 1631s # Testing script Glag (code 1198285159) 1631s # Testing script Tfng (code 1415999079) 1631s # Testing script Sylo (code 1400466543) 1631s # Testing script Xpeo (code 1483761007) 1631s # Testing script Khar (code 1265131890) 1631s # Testing script Zzzz (code 1517976186) 1631s # Testing script Bali (code 1113681001) 1631s # Testing script Xsux (code 1483961720) 1631s # Testing script Phnx (code 1349021304) 1631s # Testing script Phag (code 1349017959) 1631s # Testing script Nkoo (code 1315663727) 1631s # Testing script Kali (code 1264675945) 1631s # Testing script Lepc (code 1281716323) 1631s # Testing script Rjng (code 1382706791) 1631s # Testing script Sund (code 1400204900) 1631s # Testing script Saur (code 1398895986) 1631s # Testing script Cham (code 1130914157) 1631s # Testing script Olck (code 1332503403) 1631s # Testing script Vaii (code 1449224553) 1631s # Testing script Cari (code 1130459753) 1631s # Testing script Lyci (code 1283023721) 1631s # Testing script Lydi (code 1283023977) 1631s # Testing script Avst (code 1098281844) 1631s # Testing script Bamu (code 1113681269) 1631s # Testing script Egyp (code 1164409200) 1631s # Testing script Armi (code 1098018153) 1631s # Testing script Phli (code 1349020777) 1631s # Testing script Prti (code 1349678185) 1631s # Testing script Java (code 1247901281) 1631s # Testing script Kthi (code 1265920105) 1631s # Testing script Lisu (code 1281979253) 1631s # Testing script Mtei (code 1299473769) 1631s # Testing script Sarb (code 1398895202) 1631s # Testing script Orkh (code 1332898664) 1631s # Testing script Samr (code 1398893938) 1631s # Testing script Lana (code 1281453665) 1631s # Testing script Tavt (code 1415673460) 1631s # Testing script Batk (code 1113683051) 1631s # Testing script Brah (code 1114792296) 1631s # Testing script Mand (code 1298230884) 1631s # Testing script Cakm (code 1130457965) 1631s # Testing script Merc (code 1298494051) 1631s # Testing script Mero (code 1298494063) 1631s # Testing script Plrd (code 1349284452) 1631s # Testing script Shrd (code 1399353956) 1631s # Testing script Sora (code 1399812705) 1631s # Testing script Takr (code 1415670642) 1631s # Testing script Bass (code 1113682803) 1631s # Testing script Aghb (code 1097295970) 1631s # Testing script Dupl (code 1148547180) 1631s # Testing script Elba (code 1164730977) 1631s # Testing script Gran (code 1198678382) 1631s # Testing script Khoj (code 1265135466) 1631s # Testing script Sind (code 1399418468) 1631s # Testing script Lina (code 1281977953) 1631s # Testing script Mahj (code 1298229354) 1631s # Testing script Mani (code 1298230889) 1631s # Testing script Mend (code 1298493028) 1631s # Testing script Modi (code 1299145833) 1631s # Testing script Mroo (code 1299345263) 1631s # Testing script Nbat (code 1315070324) 1631s # Testing script Narb (code 1315009122) 1631s # Testing script Perm (code 1348825709) 1631s # Testing script Hmng (code 1215131239) 1631s # Testing script Palm (code 1348562029) 1631s # Testing script Pauc (code 1348564323) 1631s # Testing script Phlp (code 1349020784) 1631s # Testing script Sidd (code 1399415908) 1631s # Testing script Tirh (code 1416196712) 1631s # Testing script Wara (code 1466004065) 1631s # Testing script Ahom (code 1097363309) 1631s # Testing script Hluw (code 1215067511) 1631s # Testing script Hatr (code 1214346354) 1631s # Testing script Mult (code 1299541108) 1631s # Testing script Hung (code 1215655527) 1631s # Testing script Sgnw (code 1399287415) 1631s # Testing script Adlm (code 1097100397) 1631s # Testing script Bhks (code 1114139507) 1631s # Testing script Marc (code 1298231907) 1631s # Testing script Newa (code 1315272545) 1631s # Testing script Osge (code 1332963173) 1631s # Testing script Tang (code 1415671399) 1631s # Testing script Gonm (code 1198485101) 1631s # Testing script Nshu (code 1316186229) 1631s # Testing script Soyo (code 1399814511) 1631s # Testing script Zanb (code 1516334690) 1631s # Testing script Dogr (code 1148151666) 1631s # Testing script Gong (code 1198485095) 1631s # Testing script Rohg (code 1383032935) 1631s # Testing script Maka (code 1298230113) 1631s # Testing script Medf (code 1298490470) 1631s # Testing script Sogo (code 1399809903) 1631s # Testing script Sogd (code 1399809892) 1631s # Testing script Elym (code 1164736877) 1631s # Testing script Nand (code 1315008100) 1631s # Testing script Hmnp (code 1215131248) 1631s # Testing script Wcho (code 1466132591) 1631s # Testing script Chrs (code 1130918515) 1631s # Testing script Diak (code 1147756907) 1631s # Testing script Kits (code 1265202291) 1631s # Testing script Yezi (code 1499822697) 1631s # Testing script Cpmn (code 1131441518) 1631s # Testing script Ougr (code 1333094258) 1631s # Testing script Tnsa (code 1416524641) 1631s # Testing script Toto (code 1416590447) 1631s # Testing script Vith (code 1449751656) 1631s # Testing script Kawi (code 1264678761) 1631s # Testing script Nagm (code 1315006317) 1631s # Testing script Todr (code 1416586354) 1631s # Testing script Gara (code 1197568609) 1631s # Testing script Tutg (code 1416983655) 1631s # Testing script Sunu (code 1400204917) 1631s # Testing script Gukh (code 1198877544) 1631s # Testing script Krai (code 1265787241) 1631s # Testing script Onao (code 1332633967) 1631s ok 21 /unicode/iso15924 1631s ok 22 /unicode/lower 1631s ok 23 /unicode/mark 1631s ok - glib/unicode.test 1631s # Running test: glib/bitlock.test 1631s ok 24 /unicode/mirror 1631s ok 25 /unicode/print 1631s ok 26 /unicode/punctuation 1631s ok 27 /unicode/script 1631s ok 28 /unicode/space 1631s ok 29 /unicode/strdown 1631s ok 30 /unicode/strup 1631s ok 31 /unicode/turkish-strupdown 1631s ok 32 /unicode/title 1631s ok 33 /unicode/upper 1631s ok 34 /unicode/validate 1631s ok 35 /unicode/wide 1631s ok 36 /unicode/xdigit 1631s ok 37 /unicode/xdigit-value 1631s ok 38 /unicode/zero-width 1631s ok 39 /unicode/normalize 1631s # End of unicode tests 1631s TAP version 14 1631s # random seed: R02Sf479b04e5b0ae423b991b14f2c7b605e 1631s 1..2 1631s # Start of bitlock tests 1631s # Start of performance tests 1631s # max perf: iterations per second 1631s ok 1 /bitlock/performance/uncontended 1631s ok 2 /bitlock/performance/parallel 1631s # End of performance tests 1631s # End of bitlock tests 1631s ok - glib/bitlock.test 1631s # Running test: glib/asyncqueue.test 1631s TAP version 14 1631s # random seed: R02S39f4afd2e76f5d45e3ec09bcf25c4efb 1631s 1..7 1631s # Start of asyncqueue tests 1631s ok 1 /asyncqueue/basics 1631s ok 2 /asyncqueue/sort 1631s ok 3 /asyncqueue/destroy 1631s ok 4 /asyncqueue/threads 1632s ok - glib/asyncqueue.test 1632s # Running test: glib/properties-refcount1.test 1632s ok 5 /asyncqueue/timed 1632s ok 6 /asyncqueue/remove 1632s ok 7 /asyncqueue/push_front 1632s # End of asyncqueue tests 1632s TAP version 14 1632s # random seed: R02Sa0ca5e579c4177f27327ad24ab783e57 1632s 1..1 1632s # Start of gobject tests 1632s # Start of refcount tests 1632s # .f 1632s # .c 1632s # .d 1632s # .e 1632s # .b 1632s # .f 1633s # .c 1633s # .e 1633s # .d 1633s # .b 1633s # .f 1633s # .c 1633s # .d 1633s # .e 1633s # .f 1633s # .b 1633s # .c 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .d 1633s # .c 1633s # .b 1633s # .d 1633s # .f 1633s # .e 1633s # .f 1633s # .e 1633s # .b 1633s # .c 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .d 1633s # .c 1633s # .f 1633s # .e 1633s # .c 1633s # .b 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .c 1633s # .d 1633s # .e 1633s # .f 1633s # .b 1633s # .c 1633s # .d 1633s # .e 1633s # .f 1633s # .b 1633s # .d 1633s # .e 1633s # .c 1633s # .f 1633s # .d 1633s # .e 1633s # .b 1633s # .c 1633s # .f 1633s # .d 1633s # .e 1633s # .b 1633s # .c 1633s # .f 1633s # .b 1633s # .e 1633s # .d 1633s # .f 1633s # .c 1633s # .e 1633s # .b 1633s # .d 1633s # .b 1633s # .e 1633s # .f 1633s # .d 1633s # .c 1633s # .e 1633s # .b 1633s # .f 1633s # .d 1633s # .c 1633s # .e 1633s # .b 1633s # .f 1633s # .d 1633s # .e 1633s # .c 1633s # .b 1633s # .f 1633s # .e 1633s # .b 1633s # .d 1633s # .c 1633s # .e 1633s # .f 1633s # .b 1633s # .d 1633s # .c 1633s # .e 1633s # .f 1633s # .d 1633s # .b 1633s # .e 1633s # .c 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .d 1633s # .c 1633s # .e 1633s # .f 1633s # .b 1633s # .d 1633s # .c 1633s # .f 1633s # .e 1633s # .d 1633s # .b 1633s # .c 1633s # .f 1633s # .d 1633s # .e 1633s # .b 1633s # .f 1633s # .c 1633s # .e 1633s # .d 1633s # .b 1633s # Executing: glib/properties-refcount1.test 1633s # .f 1633s # .e 1633s # .c 1633s # .d 1633s # .f 1633s # .b 1633s # .e 1633s # .f 1633s # .d 1633s # .b 1633s # .c 1633s # .e 1633s # .d 1633s # .f 1633s # .b 1633s # .c 1633s # .e 1633s # .b 1633s # .d 1633s # .f 1633s # .e 1633s # .b 1633s # .c 1633s # .d 1633s # .f 1633s # .b 1633s # .c 1633s # .e 1634s # .d 1634s # .f 1634s # .b 1634s # .c 1634s # .e 1634s # .d 1634s # .f 1634s # .e 1634s # .c 1634s # .b 1634s # .d 1634s # .f 1634s # .e 1634s # .c 1634s # .b 1634s # .d 1634s # .e 1634s # .f 1634s # .c 1634s # .b 1634s # .e 1634s # .d 1634s # .f 1634s # .c 1634s # .d 1634s # .e 1634s # .b 1634s # .f 1634s # .d 1634s # .c 1634s # .e 1634s # .f 1634s # .b 1634s # .d 1634s # .f 1634s # .c 1634s # .e 1634s # .d 1634s # .b 1634s # .f 1634s # .c 1634s # .e 1634s # .d 1634s # .f 1634s # .b 1634s # .e 1634s # .c 1634s # .d 1634s # .d 1634s # .f 1634s # .d 1634s # .d 1634s # .b 1634s # .e 1634s # .c 1634s # .d 1634s ok 1 /gobject/refcount/properties-1 1634s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1634s # End of refcount tests 1634s # End of gobject tests 1634s ok - glib/properties-refcount1.test 1634s # Running test: glib/markup-subparser.test 1634s ok - glib/markup-subparser.test 1634s TAP version 14 1634s # random seed: R02S6d70fee67aa6c08b6ed09ff3d8265554 1634s 1..14 1634s # Start of glib tests 1634s # Start of markup tests 1634s # Start of subparser tests 1634s # Start of success tests 1634s ok 1 /glib/markup/subparser/success/0 1634s ok 2 /glib/markup/subparser/success/1 1634s ok 3 /glib/markup/subparser/success/2 1634s ok 4 /glib/markup/subparser/success/3 1634s ok 5 /glib/markup/subparser/success/4 1634s ok 6 /glib/markup/subparser/success/5 1634s ok 7 /glib/markup/subparser/success/6 1634s # End of success tests 1634s # Start of failure tests 1634s ok 8 /glib/markup/subparser/failure/0 1634s ok 9 /glib/markup/subparser/failure/1 1634s ok 10 /glib/markup/subparser/failure/2 1634s ok 11 /glib/markup/subparser/failure/3 1634s ok 12 /glib/markup/subparser/failure/4 1634s ok 13 /glib/markup/subparser/failure/5 1634s ok 14 /glib/markup/subparser/failure/6 1634s # End of failure tests 1634s # End of subparser tests 1634s # End of markup tests 1634s # End of glib tests 1634s # Running test: glib/utf8-pointer.test 1634s TAP version 14 1634s # random seed: R02S71fc60438ff217fc881215ce7fbb0988 1634s 1..3 1634s # Start of utf8 tests 1635s ok - glib/utf8-pointer.test 1635s # Running test: glib/accumulator.test 1635s ok 1 /utf8/offsets 1635s # slow test /utf8/offsets executed in 0.89 secs 1635s ok 2 /utf8/lengths 1635s ok 3 /utf8/find 1635s # End of utf8 tests 1635s TAP version 14 1635s # random seed: R02S154882782e5885c75720d6b69d10fe48 1635s 1..1 1635s # Start of gobject tests 1635s ok 1 /gobject/accumulator 1635s # End of gobject tests 1635s ok - glib/accumulator.test 1635s # Running test: glib/power-profile-monitor-dbus.test 1635s TAP version 13 1635s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1635s 1..1 1635s ok - glib/power-profile-monitor-dbus.test 1635s # Running test: glib/task.test 1635s TAP version 14 1635s # random seed: R02Sdaceba0a0344cd63675864e065342855 1635s 1..36 1635s # Start of gtask tests 1635s ok 1 /gtask/basic 1635s ok 2 /gtask/error 1635s ok 3 /gtask/error-literal 1635s ok 4 /gtask/error-literal-from-variable 1635s ok 5 /gtask/return-from-same-iteration 1635s ok 6 /gtask/return-from-toplevel 1635s ok 7 /gtask/return-from-anon-thread 1635s ok 8 /gtask/return-from-wrong-thread 1635s ok 9 /gtask/no-callback 1635s ok 10 /gtask/report-error 1635s ok 11 /gtask/priority 1635s ok 12 /gtask/name 1635s ok 13 /gtask/static-name 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1636s ok 14 /gtask/asynchronous-cancellation 1636s ok 15 /gtask/check-cancellable 1636s ok 16 /gtask/return-if-cancelled 1636s ok 17 /gtask/run-in-thread 1636s ok 18 /gtask/run-in-thread-sync 1636s ok 19 /gtask/run-in-thread-priority 1636s ok 20 /gtask/run-in-thread-nested 1636s ok 21 /gtask/run-in-thread-overflow 1636s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1636s # GLib-GIO-DEBUG: GTask 0xb5fd8c5d8120 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1636s # GLib-GIO-DEBUG: GTask 0xb5fd8c5d82b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1636s ok 22 /gtask/return-on-cancel 1636s # GLib-GIO-DEBUG: GTask 0xb5fd8c56e180 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1636s # GLib-GIO-DEBUG: GTask 0xb5fd8c56e780 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1636s ok 23 /gtask/return-on-cancel-sync 1636s ok 24 /gtask/return-on-cancel-atomic 1636s ok 25 /gtask/return-pointer 1636s ok 26 /gtask/return-value 1636s ok 27 /gtask/return-prefixed-error 1636s ok 28 /gtask/object-keepalive 1636s ok 29 /gtask/legacy-error 1636s ok 30 /gtask/finalize-without-return 1636s # Start of name tests 1636s ok 31 /gtask/name/macro-wrapper 1636s # End of name tests 1636s # Start of return tests 1636s ok 32 /gtask/return/error-first 1636s ok 33 /gtask/return/value-first 1636s # Start of in-idle tests 1636s ok - glib/task.test 1636s # Running test: glib/macros-c-99.test 1636s ok - glib/macros-c-99.test 1636s # Running test: glib/shell.test 1636s ok - glib/shell.test 1636s # Running test: glib/atomic-c-11.test 1636s ok 34 /gtask/return/in-idle/error-first 1636s ok 35 /gtask/return/in-idle/value-first 1636s # End of in-idle tests 1636s # End of return tests 1636s # Start of attach-source tests 1636s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1636s ok 36 /gtask/attach-source/set-name 1636s # End of attach-source tests 1636s # End of gtask tests 1636s TAP version 14 1636s # random seed: R02S856113a2a2dee19cc6eb189c13c8fa07 1636s 1..4 1636s # Start of C tests 1636s ok 1 /C/standard-99 1636s # End of C tests 1636s # Start of alignof tests 1636s ok 2 /alignof/fallback 1636s # End of alignof tests 1636s # Start of assert tests 1636s ok 3 /assert/static 1636s # End of assert tests 1636s # Start of struct tests 1636s ok 4 /struct/sizeof_member 1636s # End of struct tests 1636s TAP version 14 1636s # random seed: R02S13c6753fdaf2e63152115667a41a2448 1636s 1..52 1636s # Start of shell tests 1636s # Start of cmdline tests 1636s test cmdline: foo bar 1636s ok 1 /shell/cmdline/0 1636s test cmdline: foo 'bar' 1636s ok 2 /shell/cmdline/1 1636s test cmdline: foo "bar" 1636s ok 3 /shell/cmdline/2 1636s test cmdline: foo '' 'bar' 1636s ok 4 /shell/cmdline/3 1636s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1636s ok 5 /shell/cmdline/4 1636s test cmdline: foo blah foo bar baz 1636s ok 6 /shell/cmdline/5 1636s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1636s ok 7 /shell/cmdline/6 1636s test cmdline: foo \ 1636s bar 1636s ok 8 /shell/cmdline/7 1636s test cmdline: foo '' '' 1636s ok 9 /shell/cmdline/8 1636s test cmdline: foo \" la la la 1636s ok 10 /shell/cmdline/9 1636s test cmdline: foo \ foo woo woo\ 1636s ok 11 /shell/cmdline/10 1636s test cmdline: foo "yada yada \$\"" 1636s ok 12 /shell/cmdline/11 1636s test cmdline: foo "c:\\" 1636s ok 13 /shell/cmdline/12 1636s test cmdline: foo # bla bla bla 1636s bar 1636s ok 14 /shell/cmdline/13 1636s test cmdline: foo a#b 1636s ok 15 /shell/cmdline/14 1636s test cmdline: #foo 1636s ok 16 /shell/cmdline/15 1636s test cmdline: foo bar \ 1636s ok 17 /shell/cmdline/16 1636s test cmdline: foo 'bar baz 1636s ok 18 /shell/cmdline/17 1636s test cmdline: foo '"bar" baz 1636s ok 19 /shell/cmdline/18 1636s test cmdline: 1636s ok 20 /shell/cmdline/19 1636s test cmdline: 1636s ok 21 /shell/cmdline/20 1636s test cmdline: # foo bar 1636s ok 22 /shell/cmdline/21 1636s test cmdline: # 1636s ok 23 /shell/cmdline/22 1636s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1636s ok 24 /shell/cmdline/23 1636s # End of cmdline tests 1636s # Start of quote tests 1636s ok 25 /shell/quote/0 1636s ok 26 /shell/quote/1 1636s ok 27 /shell/quote/2 1636s ok 28 /shell/quote/3 1636s ok 29 /shell/quote/4 1636s ok 30 /shell/quote/5 1636s ok 31 /shell/quote/6 1636s # End of quote tests 1636s # Start of unquote tests 1636s ok 32 /shell/unquote/0 1636s ok 33 /shell/unquote/1 1636s ok 34 /shell/unquote/2 1636s ok 35 /shell/unquote/3 1636s ok 36 /shell/unquote/4 1636s ok 37 /shell/unquote/5 1636s ok 38 /shell/unquote/6 1636s ok 39 /shell/unquote/7 1636s ok 40 /shell/unquote/8 1636s ok 41 /shell/unquote/9 1636s ok 42 /shell/unquote/10 1636s ok 43 /shell/unquote/11 1636s ok 44 /shell/unquote/12 1636s ok 45 /shell/unquote/13 1636s ok 46 /shell/unquote/14 1636s ok 47 /shell/unquote/15 1636s ok 48 /shell/unquote/16 1636s ok 49 /shell/unquote/17 1636s ok 50 /shell/unquote/18 1636s ok 51 /shell/unquote/19 1636s ok 52 /shell/unquote/20 1636s # End of unquote tests 1636s # End of shell tests 1636s TAP version 14 1636s # random seed: R02S410eb5b7639a59f2909e6c01daecba1a 1636s 1..2 1636s # Start of atomic tests 1636s ok 1 /atomic/types 1637s ok 2 /atomic/threaded 1637s # End of atomic tests 1637s ok - glib/atomic-c-11.test 1637s # Running test: glib/gsocketclient-slow.test 1637s TAP version 14 1637s # random seed: R02Sfe889bcab1adce826a113cf7781cad55 1637s 1..4 1637s # Start of socket-client tests 1637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1637s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1637s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8adb873c8c0 and GSocketClientAsyncConnectData 0xb8adb8737530 1637s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1637s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1637s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8adb8740560 for GSocketClientAsyncConnectData 0xb8adb8737530 1637s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1637s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1637s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1637s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1637s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1637s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1637s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8adb8740560 for GSocketClientAsyncConnectData 0xb8adb8737530 1637s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1638s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1638s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1638s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1638s ok 1 /socket-client/connection-fail 1638s # slow test /socket-client/connection-fail executed in 1.20 secs 1638s # Start of happy-eyeballs tests 1638s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8adb873f130 and GSocketClientAsyncConnectData 0xb8adb8740090 1638s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1638s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1638s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8adb8743370 for GSocketClientAsyncConnectData 0xb8adb8740090 1638s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1638s # Executing: glib/gsocketclient-slow.test 1638s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1638s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1638s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1638s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1638s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1638s ok 2 /socket-client/happy-eyeballs/slow 1638s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1638s # Start of cancellation tests 1638s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8adb873fd70 and GSocketClientAsyncConnectData 0xb8adb8743610 1638s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1638s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1638s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1638s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8adb873f050 and GSocketClientAsyncConnectData 0xb8adb8743150 1638s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1638s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1638s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8adb8743bd0 for GSocketClientAsyncConnectData 0xb8adb8743150 1638s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1639s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1639s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1639s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1639s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1639s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1639s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1639s # End of cancellation tests 1639s # End of happy-eyeballs tests 1639s # End of socket-client tests 1639s ok - glib/gsocketclient-slow.test 1639s # Running test: glib/dynamictests.test 1639s TAP version 14 1639s # random seed: R02S9a5b3653dd6ef24ba3f94cac837cb604 1639s 1..2 1639s # Start of GObject tests 1639s ok - glib/dynamictests.test 1639s ok 1 /GObject/threaded-dynamic-ref-unref-init 1639s ok 2 /GObject/dynamic-interface-properties 1639s # End of GObject tests 1639s # Running test: glib/array-test.test 1639s TAP version 14 1639s # random seed: R02S815599f351ed75ce8b04446c1b50d910 1639s 1..120 1639s # Start of array tests 1639s ok 1 /array/ref-count 1639s ok 2 /array/steal 1639s ok 3 /array/clear-func 1639s ok 4 /array/binary-search 1639s ok 5 /array/overflow-append-vals 1639s ok 6 /array/overflow-set-size 1639s # Start of new tests 1639s ok 7 /array/new/zero-terminated 1639s ok 8 /array/new/take 1639s ok 9 /array/new/take-zero-terminated 1639s # Start of take tests 1639s ok 10 /array/new/take/empty 1639s ok 11 /array/new/take/overflow 1639s ok 12 /array/new/take/zero-size 1639s # End of take tests 1639s # Start of take-zero-terminated tests 1639s ok 13 /array/new/take-zero-terminated/zero-size 1639s ok 14 /array/new/take-zero-terminated/null 1639s # End of take-zero-terminated tests 1639s # End of new tests 1639s # Start of copy tests 1639s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1639s ok 15 /array/copy/sized 1639s ok 16 /array/copy/zero-terminated 1639s ok 17 /array/copy/non-zero-terminated-no-clear 1639s ok 18 /array/copy/non-zero-terminated-clear 1639s ok 19 /array/copy/zero-terminated-no-clear 1639s ok 20 /array/copy/zero-terminated-clear 1639s # End of copy tests 1639s # Start of remove-range tests 1639s ok 21 /array/remove-range/zero-terminated-null 1639s ok 22 /array/remove-range/non-zero-terminated-no-clear 1639s ok 23 /array/remove-range/non-zero-terminated-clear 1639s ok 24 /array/remove-range/zero-terminated-no-clear 1639s ok 25 /array/remove-range/zero-terminated-clear 1639s # End of remove-range tests 1639s # Start of set-size tests 1639s ok 26 /array/set-size/zero-terminated-null 1639s ok 27 /array/set-size/non-zero-terminated-no-clear 1639s ok 28 /array/set-size/non-zero-terminated-clear 1639s ok 29 /array/set-size/zero-terminated-no-clear 1639s ok 30 /array/set-size/zero-terminated-clear 1639s # Start of sized tests 1639s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1639s ok 32 /array/set-size/sized/non-zero-terminated-clear 1639s ok 33 /array/set-size/sized/zero-terminated-no-clear 1639s ok 34 /array/set-size/sized/zero-terminated-clear 1639s # End of sized tests 1639s # End of set-size tests 1639s # Start of append-val tests 1639s ok 35 /array/append-val/non-zero-terminated-no-clear 1639s ok 36 /array/append-val/non-zero-terminated-clear 1639s ok 37 /array/append-val/zero-terminated-no-clear 1639s ok 38 /array/append-val/zero-terminated-clear 1639s # End of append-val tests 1639s # Start of prepend-val tests 1639s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1639s ok 40 /array/prepend-val/non-zero-terminated-clear 1639s ok 41 /array/prepend-val/zero-terminated-no-clear 1639s ok 42 /array/prepend-val/zero-terminated-clear 1639s # End of prepend-val tests 1639s # Start of prepend-vals tests 1639s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1639s ok 44 /array/prepend-vals/non-zero-terminated-clear 1639s ok 45 /array/prepend-vals/zero-terminated-no-clear 1639s ok 46 /array/prepend-vals/zero-terminated-clear 1639s # End of prepend-vals tests 1639s # Start of insert-vals tests 1639s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1639s ok 48 /array/insert-vals/non-zero-terminated-clear 1639s ok 49 /array/insert-vals/zero-terminated-no-clear 1639s ok 50 /array/insert-vals/zero-terminated-clear 1639s # End of insert-vals tests 1639s # Start of remove-index tests 1639s ok 51 /array/remove-index/non-zero-terminated-no-clear 1639s ok 52 /array/remove-index/non-zero-terminated-clear 1639s ok 53 /array/remove-index/zero-terminated-no-clear 1639s ok 54 /array/remove-index/zero-terminated-clear 1639s # End of remove-index tests 1639s # Start of remove-index-fast tests 1639s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1639s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1639s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1639s ok 58 /array/remove-index-fast/zero-terminated-clear 1639s # End of remove-index-fast tests 1639s # Start of sort tests 1639s ok 59 /array/sort/non-zero-terminated-no-clear 1639s ok 60 /array/sort/non-zero-terminated-clear 1639s ok 61 /array/sort/zero-terminated-no-clear 1639s ok 62 /array/sort/zero-terminated-clear 1639s # End of sort tests 1639s # Start of sort-with-data tests 1639s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1639s ok 64 /array/sort-with-data/non-zero-terminated-clear 1639s ok 65 /array/sort-with-data/zero-terminated-no-clear 1639s ok 66 /array/sort-with-data/zero-terminated-clear 1639s # End of sort-with-data tests 1639s # End of array tests 1639s # Start of pointerarray tests 1639s ok 67 /pointerarray/add 1639s ok 68 /pointerarray/insert 1639s ok 69 /pointerarray/new-take 1639s ok 70 /pointerarray/new-take-null-terminated 1639s ok 71 /pointerarray/new-from-array 1639s ok 72 /pointerarray/new-from-null-terminated-array 1639s ok 73 /pointerarray/free-func 1639s ok 74 /pointerarray/array_extend_and_steal 1639s ok 75 /pointerarray/sort 1639s ok 76 /pointerarray/sort-with-data 1639s ok 77 /pointerarray/sort-values 1639s ok 78 /pointerarray/sort-values-with-data 1639s ok 79 /pointerarray/remove-range 1639s ok 80 /pointerarray/steal 1639s # Start of free tests 1639s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1639s ok 81 /pointerarray/free/null-terminated 1639s # End of free tests 1639s # Start of new-take tests 1639s ok 82 /pointerarray/new-take/empty 1639s ok 83 /pointerarray/new-take/overflow 1639s ok 84 /pointerarray/new-take/with-free-func 1639s # End of new-take tests 1639s # Start of new-take-null-terminated tests 1639s ok 85 /pointerarray/new-take-null-terminated/empty 1639s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1639s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1639s # End of new-take-null-terminated tests 1639s # Start of new-from-array tests 1639s ok 88 /pointerarray/new-from-array/empty 1639s ok 89 /pointerarray/new-from-array/overflow 1639s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1639s # End of new-from-array tests 1639s # Start of new-from-null-terminated-array tests 1639s ok 91 /pointerarray/new-from-null-terminated-array/empty 1639s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1639s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1639s # End of new-from-null-terminated-array tests 1639s # Start of ref-count tests 1639s ok 94 /pointerarray/ref-count/not-null-terminated 1639s ok 95 /pointerarray/ref-count/null-terminated 1639s # End of ref-count tests 1639s # Start of array_copy tests 1639s # /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 1639s ok 96 /pointerarray/array_copy/not-null-terminated 1639s # /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 1639s ok 97 /pointerarray/array_copy/null-terminated 1639s # End of array_copy tests 1639s # Start of array_extend tests 1639s ok 98 /pointerarray/array_extend/not-null-terminated 1639s ok 99 /pointerarray/array_extend/null-terminated 1639s # End of array_extend tests 1639s # Start of sort tests 1639s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1639s ok 100 /pointerarray/sort/example 1639s # End of sort tests 1639s # Start of sort-with-data tests 1639s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1639s ok 101 /pointerarray/sort-with-data/example 1639s # End of sort-with-data tests 1639s # Start of sort-values tests 1639s ok 102 /pointerarray/sort-values/example 1639s # End of sort-values tests 1639s # Start of sort-values-with-data tests 1639s ok 103 /pointerarray/sort-values-with-data/example 1639s # End of sort-values-with-data tests 1639s # Start of find tests 1639s ok 104 /pointerarray/find/empty 1639s ok 105 /pointerarray/find/non-empty 1639s # End of find tests 1639s # Start of steal_index tests 1639s ok 106 /pointerarray/steal_index/not-null-terminated 1639s ok 107 /pointerarray/steal_index/null-terminated 1639s # End of steal_index tests 1639s # End of pointerarray tests 1639s # Start of bytearray tests 1639s ok 108 /bytearray/steal 1639s ok 109 /bytearray/append 1639s ok 110 /bytearray/prepend 1639s ok 111 /bytearray/remove 1639s ok 112 /bytearray/remove-fast 1639s ok 113 /bytearray/remove-range 1639s ok 114 /bytearray/ref-count 1639s ok 115 /bytearray/set-size 1639s ok 116 /bytearray/sort 1639s ok 117 /bytearray/sort-with-data 1639s ok 118 /bytearray/new-take 1639s ok 119 /bytearray/new-take-overflow 1639s ok 120 /bytearray/free-to-bytes 1639s # End of bytearray tests 1639s ok - glib/array-test.test 1639s # Running test: glib/properties-refcount4.test 1639s ok - glib/properties-refcount4.test 1639s TAP version 14 1639s # random seed: R02S02e0ac0feefc7fda26b4d00dba78b73b 1639s 1..1 1639s # Start of gobject tests 1639s # Start of refcount tests 1639s ok 1 /gobject/refcount/properties-4 1639s # End of refcount tests 1639s # End of gobject tests 1639s # Running test: glib/gio-tool.py.test 1639s TAP version 13 1639s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmp6gvhzae_ 1639s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp6gvhzae_/folder/desktop.entry'] 1639s # Working Directory: /tmp/tmp6gvhzae_/folder 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmp6gvhzae_/folder/desktop.entry 1639s # Error: 1639s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmpi8m3u6d7 1639s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpi8m3u6d7/folder/desktop.entry'] 1639s # Working Directory: /tmp/tmpi8m3u6d7 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmpi8m3u6d7/folder/desktop.entry 1639s # Error: 1639s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmpvrz91liy 1639s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpvrz91liy/folder/desktop.entry'] 1639s # Working Directory: /tmp/tmpvrz91liy/sibling 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmpvrz91liy/folder/desktop.entry 1639s # Error: 1639s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmpcbm8qpe6 1639s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1639s # Working Directory: /tmp/tmpcbm8qpe6/folder 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmpcbm8qpe6/folder/desktop.entry 1639s # Error: 1639s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmp2fv2obp2 1639s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1639s # Working Directory: /tmp/tmp2fv2obp2 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmp2fv2obp2/folder/desktop.entry 1639s # Error: 1639s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmp3ogbngbl 1639s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1639s # Working Directory: /tmp/tmp3ogbngbl/sibling 1639s # Return code: 0 1639s # Output: 1639s # /tmp/tmp3ogbngbl/folder/desktop.entry 1639s # Error: 1639s ok 7 __main__.TestGioTool.test_help 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmpn7zrn__p 1639s # Running: ['/usr/bin/gio', '--help'] 1639s # Return code: 0 1639s # Output: 1639s # Usage: 1639s # gio COMMAND [ARGS…] 1639s # 1639s # Commands: 1639s # help Print help 1639s # version Print version 1639s # cat Concatenate files to standard output 1639s # copy Copy one or more files 1639s # info Show information about locations 1639s # launch Launch an application from a desktop file 1639s # list List the contents of locations 1639s # mime Get or set the handler for a mimetype 1639s # mkdir Create directories 1639s # monitor Monitor files and directories for changes 1639s # mount Mount or unmount the locations 1639s # move Move one or more files 1639s # open Open files with the default application 1639s # rename Rename a file 1639s # remove Delete one or more files 1639s # save Read from standard input and save 1639s # set Set a file attribute 1639s # trash Move files or directories to the trash 1639s # tree Lists the contents of locations in a tree 1639s # 1639s # Use “gio help COMMAND” to get detailed help. 1639s # Error: 1639s # 1639s # Running: ['/usr/bin/gio', 'help'] 1639s # Return code: 0 1639s # Output: 1639s # Usage: 1639s # gio COMMAND [ARGS…] 1639s # 1639s # Commands: 1639s # help Print help 1639s # version Print version 1639s # cat Concatenate files to standard output 1639s # copy Copy one or more files 1639s # info Show information about locations 1639s # launch Launch an application from a desktop file 1639s # list List the contents of locations 1639s # mime Get or set the handler for a mimetype 1639s # mkdir Create directories 1639s # monitor Monitor files and directories for changes 1639s # mount Mount or unmount the locations 1639s # move Move one or more files 1639s # open Open files with the default application 1639s # rename Rename a file 1639s # remove Delete one or more files 1639s # save Read from standard input and save 1639s # set Set a file attribute 1639s # trash Move files or directories to the trash 1639s # tree Lists the contents of locations in a tree 1639s # 1639s # Use “gio help COMMAND” to get detailed help. 1639s # Error: 1639s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmprl2z4ui0 1639s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmprl2z4ui0/tmp2zdg1afp'] 1639s # Return code: 0 1639s # Output: 1639s # uri: file:///tmp/tmprl2z4ui0/tmp2zdg1afp 1639s # local path: /tmp/tmprl2z4ui0/tmp2zdg1afp 1639s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1639s # attributes: 1639s # standard::content-type: application/x-zerosize 1639s # Error: 1639s ok 9 __main__.TestGioTool.test_no_args 1639s # gio: /usr/bin/gio 1639s # tmpdir: /tmp/tmpzo8h1fgh 1639s # Running: ['/usr/bin/gio'] 1639s # Return code: 1 1639s # Output: 1639s # 1639s # Error: 1639s # Usage: 1639s # gio COMMAND [ARGS…] 1639s # 1639s # Commands: 1639s # help Print help 1639s # version Print version 1639s # cat Concatenate files to standard output 1639s # copy Copy one or more files 1639s # info Show information about locations 1639s # launch Launch an application from a desktop file 1639s # list List the contents of locations 1639s # mime Get or set the handler for a mimetype 1639s # mkdir Create directories 1639s # monitor Monitor files and directories for changes 1639s # mount Mount or unmount the locations 1639s # move Move one or more files 1639s # open Open files with the default application 1639s # rename Rename a file 1639s # remove Delete one or more files 1639s # save Read from standard input and save 1639s # set Set a file attribute 1639s # trash Move files or directories to the trash 1639s # tree Lists the contents of locations in a tree 1639s # 1639s # Use “gio help COMMAND” to get detailed help. 1639s 1..9 1639s ok - glib/gio-tool.py.test 1639s # Running test: glib/gdbus-server-auth.test 1639s TAP version 14 1639s # random seed: R02Sa2d51ba3d32e394b34a58cef9fa4e5c5 1639s 1..9 1639s # Start of gdbus tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/.dirs/runtime 1639s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-2WTUJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1639s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-2WTUJ3/dbus-r07e7LXH 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6251 1639s ok 1 /gdbus/server-auth 1639s # Start of server-auth tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/abstract/.dirs/runtime 1639s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-X9EUJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1639s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-X9EUJ3/dbus-TDMnVWpW 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1639s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1639s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6251 1639s ok 2 /gdbus/server-auth/abstract 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/tcp/.dirs/runtime 1639s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1639s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/.dirs/runtime 1639s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-BGWSJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1639s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-BGWSJ3/dbus-4rHsw48o 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6251 1639s ok 4 /gdbus/server-auth/anonymous 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/.dirs/runtime 1639s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-8VJTJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1639s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-8VJTJ3/dbus-YXYMJlYi 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6251 1639s ok 5 /gdbus/server-auth/external 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/.dirs/runtime 1639s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-O34SJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1639s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1639s # Start of anonymous tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1639s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1639s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1639s # End of anonymous tests 1639s # Start of external tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1639s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-2W4SJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1639s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4DUUJ3/gdbus-server-auth-2W4SJ3/dbus-JXtysuog 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6251 1639s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1639s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1639s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1639s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6251,uid=1000,gid=1000 1639s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6251 1639s ok 8 /gdbus/server-auth/external/require-same-user 1639s # End of external tests 1639s # Start of sha1 tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4DUUJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1639s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1639s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1639s # End of sha1 tests 1639s # End of server-auth tests 1639s # End of gdbus tests 1639s ok - glib/gdbus-server-auth.test 1639s # Running test: glib/slice.test 1639s TAP version 14 1639s # random seed: R02Sd8990fd11ee30eb5923a7992ed9ff049 1639s 1..3 1639s # Start of slice tests 1639s ok 1 /slice/copy 1639s ok 2 /slice/chain 1640s ok 3 /slice/allocate 1640s # End of slice tests 1640s ok - glib/slice.test 1640s # Running test: glib/option-argv0.test 1640s TAP version 14 1640s # random seed: R02Sd33c346fa534022a6672e29b48645bfc 1640s 1..1 1640s # Start of option tests 1640s ok 1 /option/argv0 1640s # End of option tests 1640s ok - glib/option-argv0.test 1640s # Running test: glib/node.test 1640s TAP version 14 1640s # random seed: R02S0bdeadb4a7c94a1607e2b43f8acdc9b2 1640s 1..6 1640s # Start of node tests 1640s ok 1 /node/allocation 1640s ok 2 /node/construction 1640s ok 3 /node/traversal 1640s ok 4 /node/misc 1640s ok 5 /node/unlink 1640s ok 6 /node/copy 1640s # End of node tests 1640s ok - glib/node.test 1640s # Running test: glib/gdbus-auth.test 1640s TAP version 14 1640s # random seed: R02S34808b51301aa21400d6c691c388951b 1640s 1..5 1640s # Start of gdbus tests 1640s # Start of auth tests 1640s # Start of client tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1640s ok 1 /gdbus/auth/client/EXTERNAL 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1640s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1640s # End of client tests 1640s # Start of server tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1640s ok 3 /gdbus/auth/server/ANONYMOUS 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1640s ok 4 /gdbus/auth/server/EXTERNAL 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_HAWYJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1640s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1640s # End of server tests 1640s # End of auth tests 1640s # End of gdbus tests 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1640s ok - glib/gdbus-auth.test 1640s # Running test: glib/types.test 1640s TAP version 14 1640s # random seed: R02Sa9cf0b4b54892ce63ec0408426e6fca5 1640s 1..1 1640s # Start of types tests 1640s ok 1 /types/basic_types 1640s # End of types tests 1640s ok - glib/types.test 1640s # Running test: glib/utils-isolated.test 1640s TAP version 14 1640s # random seed: R02S7e51360d3200838ec07859ee7cfe1d72 1640s 1..11 1640s # Start of utils-isolated tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/tmp-dir/.dirs/runtime 1640s ok 1 /utils-isolated/tmp-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/home-dir/.dirs/runtime 1640s ok 2 /utils-isolated/home-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-cache-dir/.dirs/runtime 1640s ok 3 /utils-isolated/user-cache-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-config-dirs/.dirs/runtime 1640s ok 4 /utils-isolated/system-config-dirs 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-config-dir/.dirs/runtime 1640s ok 5 /utils-isolated/user-config-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/system-data-dirs/.dirs/runtime 1640s ok 6 /utils-isolated/system-data-dirs 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-data-dir/.dirs/runtime 1640s ok 7 /utils-isolated/user-data-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-state-dir/.dirs/runtime 1640s ok 8 /utils-isolated/user-state-dir 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/user-runtime-dir/.dirs/runtime 1640s ok 9 /utils-isolated/user-runtime-dir 1640s # Start of cleanup tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1640s Unable to clean up temporary directory /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1640s Unable to clean up temporary directory /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1640s Unable to clean up temporary directory /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/handles-errors: Directory not empty 1640s ok 10 /utils-isolated/cleanup/handles-errors 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1640s ok - glib/utils-isolated.test 1640s Unable to clean up temporary directory /tmp/test_utils-isolated_BJOYJ3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1640s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1640s # End of cleanup tests 1640s # End of utils-isolated tests 1640s # Running test: glib/relation.test 1640s TAP version 14 1640s # random seed: R02Sef846b477511a4b07374e14cdadd62ed 1640s 1..1 1640s # Start of glib tests 1640s ok 1 /glib/relation 1640s # End of glib tests 1640s ok - glib/relation.test 1640s # Running test: glib/references.test 1640s TAP version 14 1640s # random seed: R02S520ab0e13da08dfe78863c4f13b568e0 1640s 1..4 1640s # Start of gobject tests 1640s ok 1 /gobject/references 1640s ok 2 /gobject/references-many 1640s ok 3 /gobject/references_two 1640s ok 4 /gobject/references_run_dispose 1640s # End of gobject tests 1640s ok - glib/references.test 1640s # Running test: glib/spawn-multithreaded.test 1640s TAP version 14 1640s # random seed: R02S0406ec577672f36e79bc0ec736eec588 1640s 1..4 1640s # Start of gthread tests 1641s # Child 6323 (ttl 1) exited, status 0 1642s # Child 6324 (ttl 2) exited, status 0 1642s ok 1 /gthread/spawn-childs 1642s # slow test /gthread/spawn-childs executed in 2.00 secs 1642s # Created pid: 6328 (ttl 2) 1642s # Created pid: 6329 (ttl 1) 1644s # Child 6329 (ttl 1) exited, status 0 1644s # Executing: glib/spawn-multithreaded.test 1644s ok - glib/spawn-multithreaded.test 1644s # Running test: glib/permission.test 1644s ok - glib/permission.test 1644s # Running test: glib/gdbus-introspection.test 1644s ok - glib/gdbus-introspection.test 1644s # Running test: glib/gdbus-bz627724.test 1644s # Child 6328 (ttl 2) exited, status 0 1644s ok 2 /gthread/spawn-childs-threads 1644s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1644s ok 3 /gthread/spawn-sync 1644s ok 4 /gthread/spawn-async 1644s # End of gthread tests 1644s TAP version 14 1644s # random seed: R02S7b1a791c973c7319de235189407ef32f 1644s 1..1 1644s # Start of permission tests 1644s ok 1 /permission/simple 1644s # End of permission tests 1644s TAP version 14 1644s # random seed: R02Sf0d924432009c412c5936c41b7b31ad7 1644s 1..4 1644s # Start of gdbus tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-parser/.dirs/runtime 1644s ok 1 /gdbus/introspection-parser 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-generate/.dirs/runtime 1644s ok 2 /gdbus/introspection-generate 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-default-direction/.dirs/runtime 1644s ok 3 /gdbus/introspection-default-direction 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANYJJ3/gdbus/introspection-extra-data/.dirs/runtime 1644s ok 4 /gdbus/introspection-extra-data 1644s # End of gdbus tests 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s TAP version 14 1644s # random seed: R02Sa457b7b9bc0d62c6210bb8337ebb69fd 1644s 1..1 1644s # Start of gdbus tests 1644s ok - glib/gdbus-bz627724.test 1644s # Running test: glib/performance.test 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_634KJ3/gdbus/bz627724/.dirs/runtime 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1644s ok 1 /gdbus/bz627724 1644s # End of gdbus tests 1648s # Executing: glib/performance.test 1650s simple-construction: Millions of constructed objects per second: 17.926 1653s simple-construction1: Millions of constructed objects per second: 73.326 1653s # Executing: glib/performance.test 1656s complex-construction: Millions of constructed objects per second: 5.757 1658s # Executing: glib/performance.test 1660s complex-construction1: Millions of constructed objects per second: 10.099 1663s # Executing: glib/performance.test 1666s complex-construction2: Millions of constructed objects per second: 13.226 1667s finalization: Millions of finalized objects per second: 3.669 1668s type-check: Million type checks per second: 106.29 1668s # Executing: glib/performance.test 1669s emit-unhandled: Emissions per second: 4364946 1670s emit-unhandled-empty: Emissions per second: 23009860 1672s emit-unhandled-generic: Emissions per second: 5616742 1673s emit-unhandled-generic-empty: Emissions per second: 22950366 1673s # Executing: glib/performance.test 1674s emit-unhandled-args: Emissions per second: 3891299 1676s emit-handled: Emissions per second: 3103997 1676s emit-handled-empty: Emissions per second: 3180305 1678s emit-handled-generic: Emissions per second: 3154732 1679s # Executing: glib/performance.test 1679s emit-handled-generic-empty: Emissions per second: 5042857 1680s emit-handled-args: Emissions per second: 2853390 1681s notify-unhandled: Notify (unhandled) per second: 26013018 1683s notify-by-pspec-unhandled: Notify (unhandled) per second: 102022912 1683s # Executing: glib/performance.test 1684s notify-handled: Notify per second: 1922076 1685s notify-by-pspec-handled: Notify per second: 2045813 1686s property-set: Property set per second: 13601588 1687s property-set-signaled: Property set per second: 4001505 1688s # Executing: glib/performance.test 1688s property-get: Property get per second: 14170569 1690s refcount: Million refs+unref per second: 26.00 1691s refcount-1: Million refs+unref per second: 76.22 1692s refcount-toggle: Million refs+unref per second: 59.22 1692s ok - glib/performance.test 1692s # Running test: glib/module-test-library.test 1692s TAP version 14 1692s # random seed: R02S62db88320991fa1eb2d0e7367fcf8a1c 1692s 1..3 1692s # Start of module tests 1692s ok 1 /module/basics 1692s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1692s ok 2 /module/invalid-libtool-archive 1692s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1692s ok 3 /module/local-binding 1692s ok - glib/module-test-library.test 1692s # Running test: glib/genmarshal.py.test 1692s # End of module tests 1692s TAP version 13 1692s ok 1 __main__.TestGenmarshal.test_empty_list 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpnj475awi 1692s # /tmp/tmpnj475awi/tmp8vtbblku.list: 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnj475awi/tmp8vtbblku.list', '--header', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # 1692s # #include 1692s # 1692s # G_BEGIN_DECLS 1692s # 1692s # 1692s # G_END_DECLS 1692s # 1692s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1692s # Error: 1692s # 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnj475awi/tmp8vtbblku.list', '--body', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #include 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # Error: 1692s ok 2 __main__.TestGenmarshal.test_help 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpq4ezsz6q 1692s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1692s # Return code: 0 1692s # Output: 1692s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1692s # [--internal] [--valist-marshallers] [-v] 1692s # [--g-fatal-warnings] [--include-header [HEADER]] 1692s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1692s # [--prototypes] [--header] [--body] [--stdinc | 1692s # --nostdinc] [--quiet | --verbose] 1692s # [FILE ...] 1692s # 1692s # Generate signal marshallers for GObject 1692s # 1692s # positional arguments: 1692s # FILE Files with lists of marshallers to generate, or "-" 1692s # for standard input 1692s # 1692s # options: 1692s # -h, --help show this help message and exit 1692s # --prefix STRING Specify marshaller prefix 1692s # --output FILE Write output into the specified file 1692s # --skip-source Skip source location comments 1692s # --internal Mark generated functions as internal 1692s # --valist-marshallers Generate va_list marshallers 1692s # -v, --version Print version information, and exit 1692s # --g-fatal-warnings Make warnings fatal 1692s # --include-header [HEADER] 1692s # Include the specified header in the body 1692s # --pragma-once Use "pragma once" as the inclusion guard 1692s # -D CPP_DEFINES Pre-processor define 1692s # -U CPP_UNDEFINES Pre-processor undefine 1692s # --prototypes Generate the marshallers prototype in the C code 1692s # --header Generate C headers 1692s # --body Generate C code 1692s # --stdinc Include standard marshallers 1692s # --nostdinc Use standard marshallers 1692s # --quiet Only print warnings and errors 1692s # --verbose Be verbose, and include debugging information 1692s # Error: 1692s ok 3 __main__.TestGenmarshal.test_no_args 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmp1ha5733p 1692s # Running: ['/usr/bin/glib-genmarshal'] 1692s # Return code: 0 1692s # Output: 1692s # 1692s # Error: 1692s ok 4 __main__.TestGenmarshal.test_void_boolean 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpy3rg8v7o 1692s # /tmp/tmpy3rg8v7o/tmp5qrp447i.list: VOID:BOOLEAN 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy3rg8v7o/tmp5qrp447i.list', '--header', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # 1692s # #include 1692s # 1692s # G_BEGIN_DECLS 1692s # 1692s # /* VOID:BOOLEAN (/tmp/tmpy3rg8v7o/tmp5qrp447i.list:1) */ 1692s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1692s # 1692s # 1692s # G_END_DECLS 1692s # 1692s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1692s # Error: 1692s # 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy3rg8v7o/tmp5qrp447i.list', '--body', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #include 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # Error: 1692s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpmpt0lcr6 1692s # /tmp/tmpmpt0lcr6/tmp4kdx9he2.list: VOID:BOOLEAN,INT64 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmpt0lcr6/tmp4kdx9he2.list', '--header', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # 1692s # #include 1692s # 1692s # G_BEGIN_DECLS 1692s # 1692s # /* VOID:BOOLEAN,INT64 (/tmp/tmpmpt0lcr6/tmp4kdx9he2.list:1) */ 1692s # extern 1692s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1692s # GValue *return_value, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint, 1692s # gpointer marshal_data); 1692s # 1692s # 1692s # G_END_DECLS 1692s # 1692s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1692s # Error: 1692s # 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmpt0lcr6/tmp4kdx9he2.list', '--body', '--quiet'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #include 1692s # 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # /* VOID:BOOLEAN,INT64 (/tmp/tmpmpt0lcr6/tmp4kdx9he2.list:1) */ 1692s # void 1692s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint G_GNUC_UNUSED, 1692s # gpointer marshal_data) 1692s # { 1692s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1692s # gboolean arg1, 1692s # gint64 arg2, 1692s # gpointer data2); 1692s # GCClosure *cc = (GCClosure *) closure; 1692s # gpointer data1, data2; 1692s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1692s # 1692s # g_return_if_fail (n_param_values == 3); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_boolean (param_values + 1), 1692s # g_marshal_value_peek_int64 (param_values + 2), 1692s # data2); 1692s # } 1692s # Error: 1692s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpn_8lrk1z 1692s # /tmp/tmpn_8lrk1z/tmp79z5q3rg.list: VOID:PARAM 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn_8lrk1z/tmp79z5q3rg.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # 1692s # G_BEGIN_DECLS 1692s # 1692s # /* VOID:PARAM (/tmp/tmpn_8lrk1z/tmp79z5q3rg.list:1) */ 1692s # extern 1692s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1692s # GValue *return_value, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint, 1692s # gpointer marshal_data); 1692s # extern 1692s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1692s # GValue *return_value, 1692s # gpointer instance, 1692s # va_list args, 1692s # gpointer marshal_data, 1692s # int n_params, 1692s # GType *param_types); 1692s # 1692s # 1692s # G_END_DECLS 1692s # 1692s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1692s # Error: 1692s # 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn_8lrk1z/tmp79z5q3rg.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # /* VOID:PARAM (/tmp/tmpn_8lrk1z/tmp79z5q3rg.list:1) */ 1692s # void 1692s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint G_GNUC_UNUSED, 1692s # gpointer marshal_data) 1692s # { 1692s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1692s # gpointer arg1, 1692s # gpointer data2); 1692s # GCClosure *cc = (GCClosure *) closure; 1692s # gpointer data1, data2; 1692s # GMarshalFunc_VOID__PARAM callback; 1692s # 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_param (param_values + 1), 1692s # data2); 1692s # } 1692s # 1692s # void 1692s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # gpointer instance, 1692s # va_list args, 1692s # gpointer marshal_data, 1692s # int n_params, 1692s # GType *param_types) 1692s # { 1692s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1692s # gpointer arg1, 1692s # gpointer data2); 1692s # GCClosure *cc = (GCClosure *) closure; 1692s # gpointer data1, data2; 1692s # GMarshalFunc_VOID__PARAM callback; 1692s # gpointer arg0; 1692s # va_list args_copy; 1692s # 1692s # va_copy (args_copy, args); 1692s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1692s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1692s # arg0 = g_param_spec_ref (arg0); 1692s # va_end (args_copy); 1692s # 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = instance; 1692s # } 1692s # else 1692s # { 1692s # data1 = instance; 1692s # data2 = closure->data; 1692s # } 1692s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # arg0, 1692s # data2); 1692s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1692s # g_param_spec_unref (arg0); 1692s # } 1692s # Error: 1692s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1692s # glib-genmarshal: /usr/bin/glib-genmarshal 1692s # tmpdir: /tmp/tmpuh2fez4k 1692s # /tmp/tmpuh2fez4k/tmppbymgxrg.list: VOID:STRING 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuh2fez4k/tmppbymgxrg.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1692s # 1692s # G_BEGIN_DECLS 1692s # 1692s # /* VOID:STRING (/tmp/tmpuh2fez4k/tmppbymgxrg.list:1) */ 1692s # extern 1692s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1692s # GValue *return_value, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint, 1692s # gpointer marshal_data); 1692s # extern 1692s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1692s # GValue *return_value, 1692s # gpointer instance, 1692s # va_list args, 1692s # gpointer marshal_data, 1692s # int n_params, 1692s # GType *param_types); 1692s # 1692s # 1692s # G_END_DECLS 1692s # 1692s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1692s # Error: 1692s # 1692s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuh2fez4k/tmppbymgxrg.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1692s # Return code: 0 1692s # Output: 1692s # /* 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. */ 1692s # #ifdef G_ENABLE_DEBUG 1692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1692s # #else /* !G_ENABLE_DEBUG */ 1692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1692s # * Do not access GValues directly in your code. Instead, use the 1692s # * g_value_get_*() functions 1692s # */ 1692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1692s # #endif /* !G_ENABLE_DEBUG */ 1692s # 1692s # /* VOID:STRING (/tmp/tmpuh2fez4k/tmppbymgxrg.list:1) */ 1692s # void 1692s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # guint n_param_values, 1692s # const GValue *param_values, 1692s # gpointer invocation_hint G_GNUC_UNUSED, 1692s # gpointer marshal_data) 1692s # { 1692s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1692s # gpointer arg1, 1692s # gpointer data2); 1692s # GCClosure *cc = (GCClosure *) closure; 1692s # gpointer data1, data2; 1692s # GMarshalFunc_VOID__STRING callback; 1692s # 1692s # g_return_if_fail (n_param_values == 2); 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = g_value_peek_pointer (param_values + 0); 1692s # } 1692s # else 1692s # { 1692s # data1 = g_value_peek_pointer (param_values + 0); 1692s # data2 = closure->data; 1692s # } 1692s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # g_marshal_value_peek_string (param_values + 1), 1692s # data2); 1692s # } 1692s # 1692s # void 1692s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1692s # GValue *return_value G_GNUC_UNUSED, 1692s # gpointer instance, 1692s # va_list args, 1692s # gpointer marshal_data, 1692s # int n_params, 1692s # GType *param_types) 1692s # { 1692s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1692s # gpointer arg1, 1692s # gpointer data2); 1692s # GCClosure *cc = (GCClosure *) closure; 1692s # gpointer data1, data2; 1692s # GMarshalFunc_VOID__STRING callback; 1692s # gpointer arg0; 1692s # va_list args_copy; 1692s # 1692s # va_copy (args_copy, args); 1692s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1692s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1692s # arg0 = g_strdup (arg0); 1692s # va_end (args_copy); 1692s # 1692s # 1692s # if (G_CCLOSURE_SWAP_DATA (closure)) 1692s # { 1692s # data1 = closure->data; 1692s # data2 = instance; 1692s # } 1692s # else 1692s # { 1692s # data1 = instance; 1692s # data2 = closure->data; 1692s # } 1692s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1692s # 1692s # callback (data1, 1692s # arg0, 1692s # data2); 1692s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1692s # g_free (arg0); 1692s # } 1692s # Error: 1693s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1693s # glib-genmarshal: /usr/bin/glib-genmarshal 1693s # tmpdir: /tmp/tmpshp_2y91 1693s # /tmp/tmpshp_2y91/tmph2zzzots.list: VOID:VARIANT 1693s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpshp_2y91/tmph2zzzots.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1693s # Return code: 0 1693s # Output: 1693s # /* 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. */ 1693s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1693s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1693s # 1693s # G_BEGIN_DECLS 1693s # 1693s # /* VOID:VARIANT (/tmp/tmpshp_2y91/tmph2zzzots.list:1) */ 1693s # extern 1693s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1693s # GValue *return_value, 1693s # guint n_param_values, 1693s # const GValue *param_values, 1693s # gpointer invocation_hint, 1693s # gpointer marshal_data); 1693s # extern 1693s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1693s # GValue *return_value, 1693s # gpointer instance, 1693s # va_list args, 1693s # gpointer marshal_data, 1693s # int n_params, 1693s # GType *param_types); 1693s # 1693s # 1693s # G_END_DECLS 1693s # 1693s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1693s # Error: 1693s # 1693s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpshp_2y91/tmph2zzzots.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1693s # Return code: 0 1693s # Output: 1693s # /* 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. */ 1693s # #ifdef G_ENABLE_DEBUG 1693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1693s # #else /* !G_ENABLE_DEBUG */ 1693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1693s # * Do not access GValues directly in your code. Instead, use the 1693s # * g_value_get_*() functions 1693s # */ 1693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1693s # #endif /* !G_ENABLE_DEBUG */ 1693s # 1693s # /* VOID:VARIANT (/tmp/tmpshp_2y91/tmph2zzzots.list:1) */ 1693s # void 1693s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1693s # GValue *return_value G_GNUC_UNUSED, 1693s # guint n_param_values, 1693s # const GValue *param_values, 1693s # gpointer invocation_hint G_GNUC_UNUSED, 1693s # gpointer marshal_data) 1693s # { 1693s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1693s # gpointer arg1, 1693s # gpointer data2); 1693s # GCClosure *cc = (GCClosure *) closure; 1693s # gpointer data1, data2; 1693s # GMarshalFunc_VOID__VARIANT callback; 1693s # 1693s # g_return_if_fail (n_param_values == 2); 1693s # 1693s # if (G_CCLOSURE_SWAP_DATA (closure)) 1693s # { 1693s # data1 = closure->data; 1693s # data2 = g_value_peek_pointer (param_values + 0); 1693s # } 1693s # else 1693s # { 1693s # data1 = g_value_peek_pointer (param_values + 0); 1693s # data2 = closure->data; 1693s # } 1693s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1693s # 1693s # callback (data1, 1693s # g_marshal_value_peek_variant (param_values + 1), 1693s # data2); 1693s # } 1693s # 1693s # void 1693s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1693s # GValue *return_value G_GNUC_UNUSED, 1693s # gpointer instance, 1693s # va_list args, 1693s # gpointer marshal_data, 1693s # int n_params, 1693s # GType *param_types) 1693s # { 1693s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1693s # gpointer arg1, 1693s # gpointer data2); 1693s # GCClosure *cc = (GCClosure *) closure; 1693s # gpointer data1, data2; 1693s # GMarshalFunc_VOID__VARIANT callback; 1693s # gpointer arg0; 1693s # va_list args_copy; 1693s # 1693s # va_copy (args_copy, args); 1693s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1693s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1693s # arg0 = g_variant_ref_sink (arg0); 1693s # va_end (args_copy); 1693s # 1693s # 1693s # if (G_CCLOSURE_SWAP_DATA (closure)) 1693s # { 1693s # data1 = closure->data; 1693s # data2 = instance; 1693s # } 1693s # else 1693s # { 1693s # data1 = instance; 1693s # data2 = closure->data; 1693s # } 1693s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1693s # 1693s # callback (data1, 1693s # arg0, 1693s # data2); 1693s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1693s # g_variant_unref (arg0); 1693s # } 1693s # Error: 1693s 1..8 1693s ok - glib/genmarshal.py.test 1693s # Running test: glib/mem-overflow.test 1693s TAP version 14 1693s # random seed: R02S6dce8b8989be00f34626b7a8e5ea2cd2 1693s 1..2 1693s # Start of mem tests 1693s ok 1 /mem/overflow 1693s ok - glib/mem-overflow.test 1693s # Running test: glib/assert-msg-test.py.test 1693s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1693s ok 2 /mem/empty-alloc 1693s # Start of overflow tests 1693s # Start of subprocess tests 1693s # End of subprocess tests 1693s # End of overflow tests 1693s # Start of empty-alloc tests 1693s # End of empty-alloc tests 1693s # End of mem tests 1693s TAP version 13 1693s ok 1 __main__.TestAssertMessage.test_gassert 1693s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1693s # tmpdir: /tmp/tmpp9y87bhl 1693s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1693s # Return code: -6 1693s # Output: 1693s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1693s # Error: 1693s # ** 1693s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1693s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1693s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1693s # tmpdir: /tmp/tmpcvc11641 1693s 1..2 1693s ok - glib/assert-msg-test.py.test 1693s # Running test: glib/tls-interaction.test 1693s TAP version 14 1693s # random seed: R02Seb7c6b34ba5d64efd15f071b9ec4b29b 1693s 1..42 1693s # Start of tls-interaction tests 1693s # Start of ask-password tests 1693s # Start of invoke-with-loop tests 1693s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1693s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1693s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1693s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1693s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1693s # End of invoke-with-loop tests 1693s # Start of invoke-without-loop tests 1693s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1693s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1693s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1693s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1693s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1693s # End of invoke-without-loop tests 1693s # Start of invoke-in-loop tests 1693s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1693s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1693s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1693s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1693s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1693s # End of invoke-in-loop tests 1693s # Start of sync tests 1693s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1693s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1693s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1693s # End of sync tests 1693s # Start of async tests 1693s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1693s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1693s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1693s # End of async tests 1693s # End of ask-password tests 1693s # Start of request-certificate tests 1693s # Start of invoke-with-loop tests 1693s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1693s ok - glib/tls-interaction.test 1693s # Running test: glib/gdbus-close-pending.test 1693s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1693s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1693s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1693s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1693s # End of invoke-with-loop tests 1693s # Start of invoke-without-loop tests 1693s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1693s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1693s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1693s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1693s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1693s # End of invoke-without-loop tests 1693s # Start of invoke-in-loop tests 1693s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1693s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1693s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1693s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1693s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1693s # End of invoke-in-loop tests 1693s # Start of sync tests 1693s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1693s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1693s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1693s # End of sync tests 1693s # Start of async tests 1693s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1693s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1693s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1693s # End of async tests 1693s # End of request-certificate tests 1693s # End of tls-interaction tests 1693s TAP version 14 1693s # random seed: R02S219d1433f433ad410684b0e8bb34783f 1693s 1..2 1693s # Start of gdbus tests 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/close-pending/.dirs/runtime 1693s ok 1 /gdbus/close-pending 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FDQIJ3/gdbus/unref-pending/.dirs/runtime 1693s # Executing: glib/gdbus-close-pending.test 1693s ok 2 /gdbus/unref-pending 1693s # End of gdbus tests 1693s ok - glib/gdbus-close-pending.test 1693s # Running test: glib/flags.test 1693s TAP version 14 1693s # random seed: R02S0cb3c25094b34bb029a5515fabb0d385 1693s 1..1 1693s # Start of gobject tests 1693s # Start of flags tests 1693s ok 1 /gobject/flags/validate 1693s # End of flags tests 1693s # End of gobject tests 1693s ok - glib/flags.test 1693s # Running test: glib/io-channel.test 1693s TAP version 14 1693s # random seed: R02S83aec8e1160f2e1220f287cc73fc24db 1693s 1..2 1693s # Start of io-channel tests 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_106SJ3/io-channel/read-write/.dirs/runtime 1693s # Line one 1693s # 1693s # Line two 1693s # 1693s # Line three 1693s # 1693s # /* Hello */ 1693s # 1693s # \x1234\x567890\x6666 1693s # 1693s # read 62 bytes, wrote 62 bytes 1693s ok 1 /io-channel/read-write 1693s # Start of read-line tests 1693s ok - glib/io-channel.test 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_106SJ3/io-channel/read-line/embedded-nuls/.dirs/runtime 1693s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1693s ok 2 /io-channel/read-line/embedded-nuls 1693s # End of read-line tests 1693s # End of io-channel tests 1693s # Running test: glib/rcbox.test 1693s ok - glib/rcbox.test 1693s TAP version 14 1693s # random seed: R02Sc93071da4e9c13dd1d526242277291cd 1693s 1..8 1693s # Start of rcbox tests 1693s ok 1 /rcbox/new 1693s # global_point = 0xbbfa6150e720 1693s ok 2 /rcbox/release-full 1693s # global_point_a = 0xbbfa6150e720 1693s # global_point_b = 0xbbfa6150e7f0 1693s ok 3 /rcbox/dup 1693s ok 4 /rcbox/alignment 1693s # End of rcbox tests 1693s # Start of atomic-rcbox tests 1693s ok 5 /atomic-rcbox/new 1693s # global_point = 0xbbfa6150e7f0 1693s ok 6 /atomic-rcbox/release-full 1693s # global_point_a = 0xbbfa6150e7f0 1693s # global_point_b = 0xbbfa6150e720 1693s ok 7 /atomic-rcbox/dup 1693s ok 8 /atomic-rcbox/alignment 1693s # End of atomic-rcbox tests 1693s # Running test: glib/repository-search-paths.test 1693s TAP version 14 1693s # random seed: R02S8dccf32c80f9b56da34521fa0916634c 1693s 1..4 1693s # Start of repository tests 1693s # Start of search-paths tests 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/default/.dirs/runtime 1693s ok 1 /repository/search-paths/default 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ESO2J3/repository/search-paths/prepend/.dirs/runtime 1693s ok 2 /repository/search-paths/prepend 1693s # End of search-paths tests 1693s # Start of library-paths tests 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/data 1693s ok - glib/repository-search-paths.test 1693s # Running test: glib/gapplication.test 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/default/.dirs/runtime 1693s ok 3 /repository/library-paths/default 1693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/home 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/cache 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/system-config2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/config 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/system-data2 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/data 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/state 1693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ESO2J3/repository/library-paths/prepend/.dirs/runtime 1693s ok 4 /repository/library-paths/prepend 1693s # End of library-paths tests 1693s # End of repository tests 1693s TAP version 14 1693s # random seed: R02S7c9b6f06a1f1d4dec0318f90bce3975d 1693s 1..25 1693s # Start of gapplication tests 1693s ok 1 /gapplication/no-dbus 1693s ok 2 /gapplication/no-appid 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s ok 3 /gapplication/properties 1693s ok 4 /gapplication/app-id 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s ok 5 /gapplication/quit 1693s ok 6 /gapplication/registered 1693s ok 7 /gapplication/local-actions 1693s ok 8 /gapplication/local-command-line 1693s ok 9 /gapplication/resource-path 1693s ok 10 /gapplication/test-help 1693s ok 11 /gapplication/command-line-done 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s ok 12 /gapplication/test-busy 1693s ok 13 /gapplication/test-handle-local-options1 1693s ok 14 /gapplication/test-handle-local-options2 1693s ok 15 /gapplication/test-handle-local-options3 1693s ok 16 /gapplication/api 1693s ok 17 /gapplication/version 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1693s # launching subprocess 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s ok 18 /gapplication/replace 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1693s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1693s # launching subprocess 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 19 /gapplication/no-replace 1694s # slow test /gapplication/no-replace executed in 0.51 secs 1694s # Start of command-line tests 1694s # /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 1694s ok 20 /gapplication/command-line/arguments 1694s # End of command-line tests 1694s # Start of dbus tests 1694s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1694s # Message 0 1694s # Message 1 1694s # Message 2 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 21 /gapplication/dbus/activate 1694s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1694s # Message 0 1694s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1694s # Message 1 1694s # Message 2 1694s # Message 3 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 22 /gapplication/dbus/open 1694s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1694s # Message 0 1694s # Message 1 1694s # Message 2 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 23 /gapplication/dbus/command-line 1694s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 24 /gapplication/dbus/command-line-done 1694s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1694s # Message 0 1694s # Message 1 1694s # Message 2 1694s # Message 3 1694s # Message 4 1694s # Message 5 1694s # Message 6 1694s # Message 7 1694s # Message 8 1694s # Message 9 1694s # Message 10 1694s # Message 11 1694s ok - glib/gapplication.test 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1694s ok 25 /gapplication/dbus/activate-action 1694s # End of dbus tests 1694s # End of gapplication tests 1694s # Running test: glib/singleton.test 1694s ok - glib/singleton.test 1694s TAP version 14 1694s # random seed: R02S8104499e9036a56f999faf09eac6f935 1694s 1..2 1694s # Start of gobject tests 1694s # Start of singleton tests 1694s ok 1 /gobject/singleton/construction 1694s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1694s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1694s ok 2 /gobject/singleton/construct-property 1694s # End of singleton tests 1694s # End of gobject tests 1694s # Running test: glib/file-enumerator.test 1694s TAP version 14 1694s # random seed: R02S5fa6c29ad1883f5fd137c5dca6667061 1694s 1..1 1694s # Start of file-enumerator tests 1694s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1694s ok 1 /file-enumerator/close-on-dispose 1694s # End of file-enumerator tests 1694s ok - glib/file-enumerator.test 1694s # Running test: glib/gvariant.test 1694s TAP version 14 1694s # random seed: R02Sc4731767dbaa5112ca9a3c9680580f92 1694s 1..69 1694s # Start of gvariant tests 1694s ok 1 /gvariant/type 1694s ok 2 /gvariant/typeinfo 1694s ok 3 /gvariant/string 1694s ok 4 /gvariant/utf8 1694s ok 5 /gvariant/utf8-new-strings 1694s ok 6 /gvariant/containers 1694s ok 7 /gvariant/format-strings 1694s ok 8 /gvariant/invalid-varargs 1694s ok 9 /gvariant/varargs 1694s ok 10 /gvariant/valist 1694s ok 11 /gvariant/builder-memory 1694s ok 12 /gvariant/hashing 1694s ok 13 /gvariant/byteswap 1694s ok 14 /gvariant/parser 1694s ok 15 /gvariant/parse-failures 1694s ok 16 /gvariant/parse-positional 1694s ok 17 /gvariant/floating 1694s ok 18 /gvariant/bytestring 1694s ok 19 /gvariant/lookup-value 1694s ok 20 /gvariant/lookup 1694s ok 21 /gvariant/compare 1694s ok 22 /gvariant/equal 1694s ok 23 /gvariant/fixed-array 1694s ok 24 /gvariant/check-format-string 1694s ok 25 /gvariant/checksum-basic 1694s ok 26 /gvariant/checksum-nested 1694s ok 27 /gvariant/gbytes 1694s ok 28 /gvariant/print-context 1694s ok 29 /gvariant/error-quark 1694s ok 30 /gvariant/stack-builder-init 1694s ok 31 /gvariant/stack-builder-init-static 1694s ok 32 /gvariant/stack-builder-init-unset 1694s ok 33 /gvariant/stack-dict-init 1694s ok 34 /gvariant/unaligned-construction 1694s # Start of type tests 1694s # Start of string-scan tests 1694s # Start of recursion tests 1694s ok 35 /gvariant/type/string-scan/recursion/tuple 1694s ok 36 /gvariant/type/string-scan/recursion/array 1694s # End of recursion tests 1694s # End of string-scan tests 1694s # End of type tests 1694s # Start of serialiser tests 1694s ok 37 /gvariant/serialiser/maybe 1695s ok 38 /gvariant/serialiser/array 1695s ok 39 /gvariant/serialiser/tuple 1695s ok 40 /gvariant/serialiser/variant 1695s ok 41 /gvariant/serialiser/strings 1697s ok 42 /gvariant/serialiser/byteswap 1697s # slow test /gvariant/serialiser/byteswap executed in 2.16 secs 1697s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1697s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1697s ok 43 /gvariant/serialiser/children 1697s # Start of byteswap tests 1697s ok 44 /gvariant/serialiser/byteswap/zero-sized 1697s # End of byteswap tests 1697s # Start of fuzz tests 1697s ok 45 /gvariant/serialiser/fuzz/1% 1697s ok 46 /gvariant/serialiser/fuzz/5% 1698s ok 47 /gvariant/serialiser/fuzz/9% 1698s # Executing: glib/gvariant.test 1698s ok 48 /gvariant/serialiser/fuzz/13% 1698s ok 49 /gvariant/serialiser/fuzz/17% 1698s # End of fuzz tests 1698s # End of serialiser tests 1698s # Start of utf8 tests 1698s # Start of subprocess tests 1698s # End of subprocess tests 1698s # End of utf8 tests 1698s # Start of varargs tests 1698s # Start of subprocess tests 1698s # End of subprocess tests 1698s # End of varargs tests 1698s # Start of byteswap tests 1698s # /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. 1698s ok 50 /gvariant/byteswap/non-normal-non-aligned 1698s # End of byteswap tests 1698s # Start of parser tests 1698s ok 51 /gvariant/parser/integer-bounds 1698s ok 52 /gvariant/parser/recursion 1698s # Start of recursion tests 1698s ok 53 /gvariant/parser/recursion/typedecls 1698s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1698s # Text form 0: @mmmu 5 1698s # Text form 1: @mmmas ['hello'] 1698s # Text form 2: @mmmu just just nothing 1698s # Text form 3: @mmmas just just nothing 1698s # Text form 4: @mmmu just nothing 1698s # Text form 5: @mmmas just nothing 1698s # Text form 6: @mmmu nothing 1698s # Text form 7: @mmmas nothing 1698s ok 54 /gvariant/parser/recursion/maybes 1698s # End of recursion tests 1698s # End of parser tests 1698s # Start of parse tests 1698s # Start of subprocess tests 1698s # End of subprocess tests 1698s # End of parse tests 1698s # Start of normal-checking tests 1698s ok 55 /gvariant/normal-checking/tuples 1698s ok 56 /gvariant/normal-checking/array-offsets 1698s ok 57 /gvariant/normal-checking/array-offsets2 1698s ok 58 /gvariant/normal-checking/tuple-offsets 1698s ok 59 /gvariant/normal-checking/tuple-offsets2 1698s ok 60 /gvariant/normal-checking/tuple-offsets3 1698s ok 61 /gvariant/normal-checking/tuple-offsets4 1698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1698s ok 62 /gvariant/normal-checking/tuple-offsets5 1698s ok 63 /gvariant/normal-checking/empty-object-path 1698s # Start of array-offsets tests 1698s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1698s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1698s # End of array-offsets tests 1698s # Start of tuple-offsets tests 1698s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1698s # End of tuple-offsets tests 1698s # End of normal-checking tests 1698s # Start of recursion-limits tests 1698s ok 67 /gvariant/recursion-limits/variant-in-variant 1698s ok 68 /gvariant/recursion-limits/array-in-variant 1698s # End of recursion-limits tests 1698s # End of gvariant tests 1698s # Start of gvarianttype tests 1698s ok 69 /gvarianttype/hash 1698s # End of gvarianttype tests 1698s TAP version 14 1698s # random seed: R02S7c7d73a7ee2ec772af0786af347818cb 1698s 1..1 1698s # Start of thread tests 1698s ok - glib/gvariant.test 1698s # Running test: glib/onceinit.test 1699s ok 1 /thread/onceinit 1699s # End of thread tests 1699s ok - glib/onceinit.test 1699s # Running test: glib/mount-operation.test 1699s TAP version 14 1699s # random seed: R02S450f1640555a4f65e3371a551d62a9e3 1699s 1..2 1699s # Start of mount-operation tests 1699s ok 1 /mount-operation/construction 1699s ok 2 /mount-operation/properties 1699s # End of mount-operation tests 1699s ok - glib/mount-operation.test 1699s # Running test: glib/date.test 1699s TAP version 14 1699s # random seed: R02S544bd0f2987dc62d5f4217b51383051b 1699s 1..122 1699s # Start of date tests 1699s ok 1 /date/basic 1699s ok 2 /date/empty 1699s ok 3 /date/dmy 1699s ok 4 /date/julian 1699s ok 5 /date/compare 1699s ok 6 /date/dates 1699s ok 7 /date/strftime 1699s ok 8 /date/two-digit-years 1699s ok 9 /date/parse 1699s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1699s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1699s ok 11 /date/month_substring 1699s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1699s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1699s ok 13 /date/clamp 1699s ok 14 /date/order 1699s ok 15 /date/copy 1699s # Vector 0: 0000-00-00, invalid 1699s # Vector 1: 0001-01-01, valid 1699s # Vector 2: 0000-01-01, invalid 1699s # Vector 3: 2000-02-30, invalid 1699s # Vector 4: 2000-02-29, valid 1699s # Vector 5: 2001-02-29, invalid 1699s # Vector 6: 65535-01-01, valid 1699s ok 16 /date/valid-dmy 1699s # Considering 2000-01-01 1699s # Considering 2000-01-07 1699s # Considering 2000-01-08 1699s # Considering 2001-01-01 1699s # Considering 2001-01-07 1699s # Considering 2001-01-08 1699s # Considering 2002-01-01 1699s # Considering 2002-01-07 1699s # Considering 2002-01-08 1699s # Considering 2003-01-01 1699s # Considering 2003-01-07 1699s # Considering 2003-01-08 1699s # Considering 2004-01-01 1699s # Considering 2004-01-07 1699s # Considering 2004-01-08 1699s # Considering 2006-01-01 1699s # Considering 2006-01-07 1699s # Considering 2006-01-08 1699s # Considering 2010-01-01 1699s # Considering 2010-01-07 1699s # Considering 2010-01-08 1699s ok 17 /date/week-of-year 1699s # Start of parse tests 1699s # Test 0 1699s # Test 1 1699s ok 18 /date/parse/invalid 1699s # End of parse tests 1699s # Start of year tests 1699s ok 19 /date/year/1 1699s ok 20 /date/year/2 1699s ok 21 /date/year/3 1699s ok 22 /date/year/4 1699s ok 23 /date/year/5 1699s ok 24 /date/year/6 1699s ok 25 /date/year/7 1699s ok 26 /date/year/8 1699s ok 27 /date/year/9 1699s ok 28 /date/year/10 1699s ok 29 /date/year/11 1699s ok 30 /date/year/12 1699s ok 31 /date/year/13 1699s ok 32 /date/year/14 1699s ok 33 /date/year/98 1699s ok 34 /date/year/99 1699s ok 35 /date/year/100 1699s ok 36 /date/year/101 1699s ok 37 /date/year/102 1699s ok 38 /date/year/103 1699s ok 39 /date/year/397 1699s ok 40 /date/year/398 1699s ok 41 /date/year/399 1699s ok 42 /date/year/400 1699s ok 43 /date/year/401 1699s ok 44 /date/year/402 1699s ok 45 /date/year/403 1699s ok 46 /date/year/404 1699s ok 47 /date/year/405 1699s ok 48 /date/year/406 1699s ok 49 /date/year/1598 1699s ok 50 /date/year/1599 1699s ok 51 /date/year/1600 1699s ok 52 /date/year/1601 1699s ok 53 /date/year/1602 1699s ok 54 /date/year/1650 1699s ok 55 /date/year/1651 1699s ok 56 /date/year/1897 1699s ok 57 /date/year/1898 1699s ok 58 /date/year/1899 1699s ok 59 /date/year/1900 1699s ok 60 /date/year/1901 1699s ok 61 /date/year/1902 1699s ok 62 /date/year/1903 1699s ok 63 /date/year/1961 1699s ok 64 /date/year/1962 1699s ok 65 /date/year/1963 1699s ok 66 /date/year/1964 1699s ok 67 /date/year/1965 1699s ok 68 /date/year/1967 1699s ok 69 /date/year/1968 1699s ok 70 /date/year/1969 1699s ok 71 /date/year/1970 1699s ok 72 /date/year/1971 1699s ok 73 /date/year/1972 1699s ok 74 /date/year/1973 1699s ok 75 /date/year/1974 1699s ok 76 /date/year/1975 1699s ok 77 /date/year/1976 1699s ok 78 /date/year/1977 1699s ok 79 /date/year/1978 1699s ok 80 /date/year/1979 1699s ok 81 /date/year/1980 1699s ok 82 /date/year/1981 1699s ok 83 /date/year/1982 1699s ok 84 /date/year/1983 1699s ok 85 /date/year/1984 1699s ok 86 /date/year/1985 1699s ok 87 /date/year/1986 1699s ok 88 /date/year/1987 1699s ok 89 /date/year/1988 1699s ok 90 /date/year/1989 1699s ok 91 /date/year/1990 1699s ok 92 /date/year/1991 1699s ok 93 /date/year/1992 1699s ok 94 /date/year/1993 1699s ok 95 /date/year/1994 1699s ok 96 /date/year/1995 1699s ok 97 /date/year/1996 1699s ok 98 /date/year/1997 1699s ok 99 /date/year/1998 1699s ok 100 /date/year/1999 1699s ok 101 /date/year/2000 1699s ok 102 /date/year/2001 1699s ok 103 /date/year/2002 1699s ok 104 /date/year/2003 1699s ok 105 /date/year/2004 1699s ok 106 /date/year/2005 1699s ok 107 /date/year/2006 1699s ok 108 /date/year/2007 1699s ok 109 /date/year/2008 1699s ok 110 /date/year/2009 1699s ok 111 /date/year/2010 1699s ok 112 /date/year/2011 1699s ok 113 /date/year/2012 1699s ok 114 /date/year/3000 1699s ok 115 /date/year/3001 1699s ok 116 /date/year/3002 1699s ok 117 /date/year/3998 1699s ok 118 /date/year/3999 1699s ok 119 /date/year/4000 1699s ok 120 /date/year/4001 1699s ok 121 /date/year/4002 1699s ok 122 /date/year/4003 1699s # End of year tests 1699s # End of date tests 1699s ok - glib/date.test 1699s # Running test: glib/rwlock.test 1699s TAP version 14 1699s # random seed: R02S3e5379f99d6d5a5597b65c6eff3bc7ca 1699s 1..8 1699s # Start of thread tests 1699s ok 1 /thread/rwlock1 1699s ok 2 /thread/rwlock2 1699s ok 3 /thread/rwlock3 1699s ok 4 /thread/rwlock4 1699s ok 5 /thread/rwlock5 1699s ok 6 /thread/rwlock6 1702s ok 7 /thread/rwlock7 1702s # slow test /thread/rwlock7 executed in 3.47 secs 1702s ok 8 /thread/rwlock8 1702s # End of thread tests 1702s ok - glib/rwlock.test 1702s # Running test: glib/volumemonitor.test 1702s TAP version 14 1702s # random seed: R02S32327bba0acf79100ab764ac433cbff3 1702s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1702s 1..3 1702s # Start of volumemonitor tests 1702s ok 1 /volumemonitor/connected_drives 1702s ok 2 /volumemonitor/volumes 1702s ok 3 /volumemonitor/mounts 1702s # End of volumemonitor tests 1702s ok - glib/volumemonitor.test 1702s # Running test: glib/gdbus-method-invocation.test 1702s TAP version 14 1702s # random seed: R02Sd701bb30aa357a3fc70cec7f70bee6b3 1702s 1..1 1702s # Start of gdbus tests 1702s # Start of method-invocation tests 1702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/home 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/cache 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/system-config2 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/config 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/system-data2 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/data 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/state 1702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_2AY0J3/gdbus/method-invocation/return/.dirs/runtime 1702s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1702s # Calling org.freedesktop.DBus.Properties.Get 1702s # Calling org.freedesktop.DBus.Properties.Get 1702s # Calling org.freedesktop.DBus.Properties.Get 1702s # Calling org.freedesktop.DBus.Properties.Set 1702s # Calling org.freedesktop.DBus.Properties.GetAll 1702s # Calling org.example.Foo.WrongReturnType 1702s # Calling org.example.Foo.GetFDs 1702s # Calling org.example.Foo.GetFDs 1702s # Calling org.example.Foo.ReturnError 1702s # Calling org.example.Foo.CloseBeforeReturning 1702s ok 1 /gdbus/method-invocation/return 1702s # End of method-invocation tests 1702s ok - glib/gdbus-method-invocation.test 1702s # Running test: glib/power-profile-monitor.test 1702s ok - glib/power-profile-monitor.test 1702s # Running test: glib/gi-inspect-typelib.py.test 1702s # End of gdbus tests 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s TAP version 14 1702s # random seed: R02Sf2b02347389c2cecff2ce9632e836408 1702s 1..1 1702s # Start of power-profile-monitor tests 1702s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1702s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1702s ok 1 /power-profile-monitor/default 1702s # End of power-profile-monitor tests 1702s TAP version 13 1702s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1702s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1702s # tmpdir: /tmp/tmpt_xu_41c 1702s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1702s # Return code: 0 1702s # Output: 1702s # Usage: 1702s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1702s # 1702s # Help Options: 1702s # -h, --help Show help options 1702s # 1702s # Application Options: 1702s # --typelib-version=VERSION Typelib version to inspect 1702s # --print-shlibs List the shared libraries the typelib requires 1702s # --print-typelibs List other typelibs the inspected typelib requires 1702s # Error: 1702s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1702s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1702s # tmpdir: /tmp/tmpe3ysksie 1702s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1702s # Return code: 1 1702s # Output: 1702s # 1702s # Error: 1702s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1702s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1702s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1702s # tmpdir: /tmp/tmpz0v4zsag 1702s # Running: ['/usr/bin/gi-inspect-typelib'] 1702s # Return code: 1 1702s # Output: 1702s # 1702s # Error: 1702s # Please specify exactly one namespace 1702s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1702s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1702s # tmpdir: /tmp/tmpnvi_jxjv 1702s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1702s # Return code: 0 1702s # Output: 1702s # shlib: libgobject-2.0.so.0 1702s # shlib: libglib-2.0.so.0 1702s # Error: 1702s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1702s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1702s # tmpdir: /tmp/tmpm1js2x3w 1702s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1702s # Return code: 0 1702s # Output: 1702s # 1702s # Error: 1703s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmpu73uznbx 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # shlib: libgobject-2.0.so.0 1703s # shlib: libglib-2.0.so.0 1703s # Error: 1703s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmpb_ax460f 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # shlib: libgobject-2.0.so.0 1703s # Error: 1703s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmpj1us7srl 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # typelib: GLib-2.0 1703s # Error: 1703s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmp60u_96sq 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # shlib: libgobject-2.0.so.0 1703s # typelib: GLib-2.0 1703s # Error: 1703s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmp9wdws3ot 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # shlib: libgio-2.0.so.0 1703s # Error: 1703s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmp1ckphjvu 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # typelib: GObject-2.0 1703s # typelib: GLib-2.0 1703s # typelib: GModule-2.0 1703s # Error: 1703s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1703s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1703s # tmpdir: /tmp/tmpj09vfihl 1703s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1703s # Return code: 0 1703s # Output: 1703s # shlib: libgio-2.0.so.0 1703s # typelib: GObject-2.0 1703s # typelib: GLib-2.0 1703s # typelib: GModule-2.0 1703s # Error: 1703s 1..12 1703s ok - glib/gi-inspect-typelib.py.test 1703s # Running test: glib/g-icon.test 1703s ok - glib/g-icon.test 1703s TAP version 14 1703s # random seed: R02S74dfdb1a3224b799266467603f3247e0 1703s 1..6 1703s # Start of icons tests 1703s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1703s ok 1 /icons/to-string 1703s ok 2 /icons/serialize 1703s ok 3 /icons/themed 1703s ok 4 /icons/emblemed 1703s ok 5 /icons/file 1703s ok 6 /icons/bytes 1703s # End of icons tests 1703s # Running test: glib/memory-monitor-portal.test 1703s TAP version 13 1703s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1703s 1..1 1703s ok - glib/memory-monitor-portal.test 1703s # Running test: glib/atomic.test 1703s TAP version 14 1703s # random seed: R02S9f65040517cf8a130015999b58167157 1703s 1..2 1703s # Start of atomic tests 1703s ok 1 /atomic/types 1703s ok 2 /atomic/threaded 1703s # End of atomic tests 1703s ok - glib/atomic.test 1703s # Running test: glib/reference.test 1703s TAP version 14 1703s # random seed: R02S1fd1175cef1f68d82410b06c26c304ad 1703s 1..29 1703s # Start of type tests 1703s ok 1 /type/fundamentals 1703s ok 2 /type/qdata 1703s ok 3 /type/query 1703s ok 4 /type/class-private 1703s # End of type tests 1703s # Start of object tests 1703s ok 5 /object/clear 1703s ok 6 /object/clear-function 1703s ok 7 /object/set 1703s ok 8 /object/set-function 1703s ok 9 /object/value 1703s ok 10 /object/initially-unowned 1703s ok 11 /object/weak-pointer 1703s ok 12 /object/weak-ref 1703s ok 13 /object/toggle-ref 1703s ok 14 /object/qdata 1703s ok 15 /object/qdata2 1703s # Start of set tests 1703s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1703s ok 16 /object/set/derived-type 1703s # End of set tests 1703s # Start of weak-pointer tests 1703s ok 17 /object/weak-pointer/clear 1703s ok 18 /object/weak-pointer/clear-function 1703s ok 19 /object/weak-pointer/set 1703s ok 20 /object/weak-pointer/set-function 1703s # End of weak-pointer tests 1703s # Start of weak-ref tests 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1703s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1703s ok 21 /object/weak-ref/on-dispose 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1703s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1703s ok 22 /object/weak-ref/on-run-dispose 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1703s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1703s ok 23 /object/weak-ref/on-toggle-notify 1703s ok 24 /object/weak-ref/in-toggle-notify 1703s ok 25 /object/weak-ref/many 1703s # Start of concurrent tests 1703s ok 26 /object/weak-ref/concurrent/0 1703s ok 27 /object/weak-ref/concurrent/1 1703s # End of concurrent tests 1703s # End of weak-ref tests 1703s # Start of toggle-ref tests 1703s ok 28 /object/toggle-ref/ref-on-dispose 1703s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1703s # End of toggle-ref tests 1703s ok - glib/reference.test 1703s # End of object tests 1703s # Running test: glib/memory-monitor-dbus.test 1703s TAP version 13 1703s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1703s 1..1 1703s ok - glib/memory-monitor-dbus.test 1703s # Running test: glib/gdbus-peer-object-manager.test 1703s TAP version 14 1703s # random seed: R02S9e77fbd163b2cf20ee3fa2a7333ae86d 1703s 1..2 1703s # Start of gdbus tests 1703s # Start of peer-object-manager tests 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/normal/.dirs/runtime 1703s ok 1 /gdbus/peer-object-manager/normal 1703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/home 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/cache 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/system-config2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/config 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/system-data2 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/data 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/state 1703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_C8KXJ3/gdbus/peer-object-manager/root/.dirs/runtime 1703s ok 2 /gdbus/peer-object-manager/root 1703s # End of peer-object-manager tests 1703s # End of gdbus tests 1703s ok - glib/gdbus-peer-object-manager.test 1703s # Running test: glib/messages-low-memory.py.test 1703s # Executing: glib/messages-low-memory.py.test 1703s TAP version 13 1703s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1703s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1703s # tmpdir: /tmp/tmpoolmr8_z 1703s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1703s # Return code: -6 1703s # Output: 1703s # 1703s # Error: 1703s # GLib-Message: 13:41:42.111: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1703s # GLib-Message: 13:41:42.111: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1703s # ../../../glib/gprintf.c:351: failed to allocate memory 1703s 1..1 1703s ok - glib/messages-low-memory.py.test 1703s # Running test: glib/unix.test 1703s TAP version 14 1703s # random seed: R02Sed7528d76d118de1bca2c18082b7f352 1703s 1..20 1703s # Start of glib-unix tests 1703s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1703s ok 1 /glib-unix/closefrom 1703s ok 2 /glib-unix/pipe 1703s # /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 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1703s ok 3 /glib-unix/pipe-stdio-overwrite 1703s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1703s ok 4 /glib-unix/pipe-struct 1703s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1703s ok 5 /glib-unix/pipe-struct-auto 1703s ok 6 /glib-unix/error 1703s ok 7 /glib-unix/nonblocking 1704s ok 8 /glib-unix/sighup 1704s # slow test /glib-unix/sighup executed in 0.50 secs 1704s ok 9 /glib-unix/sigterm 1704s # slow test /glib-unix/sigterm executed in 0.50 secs 1705s ok 10 /glib-unix/sighup_again 1705s # slow test /glib-unix/sighup_again executed in 0.50 secs 1705s ok 11 /glib-unix/sighup_add_remove 1705s ok 12 /glib-unix/sighup_nested 1707s ok 13 /glib-unix/callback_after_signal 1707s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1707s ok 14 /glib-unix/child-wait 1707s # Start of closefrom tests 1707s # Start of subprocess tests 1707s # End of subprocess tests 1707s # End of closefrom tests 1707s # Start of pipe tests 1707s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1707s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1707s ok 15 /glib-unix/pipe/fd-cloexec 1707s # End of pipe tests 1707s # Start of sighup tests 1708s ok 16 /glib-unix/sighup/alternate-stack 1708s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1708s # End of sighup tests 1708s # Start of sigterm tests 1708s # Executing: glib/unix.test 1709s ok 17 /glib-unix/sigterm/alternate-stack 1709s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1709s # End of sigterm tests 1709s # Start of sighup_again tests 1710s ok 18 /glib-unix/sighup_again/alternate-stack 1710s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1710s # End of sighup_again tests 1710s # Start of get-passwd-entry tests 1710s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1710s ok 19 /glib-unix/get-passwd-entry/root 1710s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1710s ok - glib/unix.test 1710s # Running test: glib/hostutils.test 1710s ok - glib/hostutils.test 1710s # Running test: glib/gdbus-proxy-well-known-name.test 1710s ok - glib/gdbus-proxy-well-known-name.test 1710s # Running test: glib/null-settings-backend.test 1710s ok - glib/null-settings-backend.test 1710s # Running test: glib/type-flags.test 1710s ok - glib/type-flags.test 1710s # Running test: glib/charset.test 1710s ok - glib/charset.test 1710s # Running test: glib/appmonitor.test 1710s ok - glib/appmonitor.test 1710s # Running test: glib/completion.test 1710s ok - glib/completion.test 1710s # Running test: glib/dump.test 1710s ok - glib/dump.test 1710s # Running test: glib/network-monitor-race.test 1710s ok 20 /glib-unix/get-passwd-entry/nonexistent 1710s # End of get-passwd-entry tests 1710s # End of glib-unix tests 1710s TAP version 14 1710s # random seed: R02Se6cd96d546473702a987cb46950d25d1 1710s 1..4 1710s # Start of hostutils tests 1710s ok 1 /hostutils/hostname_is_non_ascii 1710s ok 2 /hostutils/to_ascii 1710s ok 3 /hostutils/to_unicode 1710s ok 4 /hostutils/is_ip_addr 1710s # End of hostutils tests 1710s TAP version 14 1710s # random seed: R02Sab333fa215a2a023ff5c7642e2bf11c2 1710s 1..1 1710s # Start of gdbus tests 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_KLDJJ3/gdbus/proxy-well-known-name/.dirs/runtime 1710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1710s ok 1 /gdbus/proxy-well-known-name 1710s # End of gdbus tests 1710s TAP version 14 1710s # random seed: R02S7f9e6f421396dc6c4a3bb2b02f563f24 1710s 1..1 1710s # Start of null-settings-backend tests 1710s ok 1 /null-settings-backend/extension-point-registered 1710s # End of null-settings-backend tests 1710s TAP version 14 1710s # random seed: R02Sba603fd8c37c3485055b1c08a58743c0 1710s 1..4 1710s # Start of type tests 1710s # Start of flags tests 1710s ok 1 /type/flags/interface 1710s ok 2 /type/flags/final 1710s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1710s ok 3 /type/flags/deprecated 1710s # Start of final tests 1710s ok 4 /type/flags/final/instance-check 1710s # End of final tests 1710s # End of flags tests 1710s # End of type tests 1710s TAP version 14 1710s # random seed: R02Sd3c6f39eb4b9d52870af358488c350bf 1710s 1..2 1710s # Start of charset tests 1710s # Test 0 1710s # Test 1 1710s # Test 2 1710s # Test 3 1710s ok 1 /charset/language_names_with_category 1710s ok 2 /charset/language_names_with_category_async 1710s # End of charset tests 1710s TAP version 14 1710s # random seed: R02S702a9e5881c0fb062dc740368d736497 1710s 1..1 1710s # Start of monitor tests 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/runtime 1710s # Using data directory: /tmp/test_appmonitor_E49HJ3/monitor/app/.dirs/data 1710s ok 1 /monitor/app 1710s # End of monitor tests 1710s TAP version 14 1710s # random seed: R02S0fa7922b59d104f533da0bcac5fe4fa5 1710s 1..1 1710s # Start of completion tests 1710s ok 1 /completion/test-completion 1710s # End of completion tests 1710s TAP version 14 1710s # random seed: R02S8b0555d75c948a2b9b43d54d380ba3fc 1710s 1..4 1710s # Start of dump tests 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_UZ6HJ3/dump/empty-file/.dirs/runtime 1710s ok 1 /dump/empty-file 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_UZ6HJ3/dump/missing-get-type/.dirs/runtime 1710s Invalid GType function: 'does_not_exist_get_type' 1710s ok 2 /dump/missing-get-type 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_UZ6HJ3/dump/missing-quark/.dirs/runtime 1710s Invalid error quark function: 'does_not_exist_error' 1710s ok 3 /dump/missing-quark 1710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/home 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/cache 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/system-config1:/tmp/test_dump_UZ6HJ3/dump/basic/.dirs/system-config2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/config 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/system-data1:/tmp/test_dump_UZ6HJ3/dump/basic/.dirs/system-data2 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/data 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/state 1710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_UZ6HJ3/dump/basic/.dirs/runtime 1710s ok 4 /dump/basic 1710s # End of dump tests 1710s TAP version 14 1710s # random seed: R02S214b7c638cac7e6db2005e8df5348307 1710s 1..1 1710s # Start of network-monitor tests 1710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1712s ok - glib/network-monitor-race.test 1712s # Running test: glib/autoptr.test 1712s ok - glib/autoptr.test 1712s # Running test: glib/threadtests.test 1712s ok 1 /network-monitor/create-in-thread 1712s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1712s # End of network-monitor tests 1712s TAP version 14 1712s # random seed: R02S07244fbfb7fabf117940b88aa9d42638 1712s 1..6 1712s # Start of autoptr tests 1712s ok 1 /autoptr/autoptr 1712s ok 2 /autoptr/autoptr_steal 1712s ok 3 /autoptr/autolist 1712s ok 4 /autoptr/autoslist 1712s ok 5 /autoptr/autoqueue 1712s ok 6 /autoptr/autoclass 1712s # End of autoptr tests 1712s TAP version 14 1712s # random seed: R02Se1f88392893b2a573fc02fb92c29a158 1712s 1..5 1712s # Start of GObject tests 1712s ok 1 /GObject/threaded-object-init 1713s ok 2 /GObject/threaded-weak-ref 1713s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 1713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1713s # /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 1713s ok 3 /GObject/threaded-toggle-notify 1713s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1713s # Start of threaded-weak-ref tests 1713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1713s # /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. 1713s ok 5 /GObject/threaded-weak-ref/on-finalization 1713s # End of threaded-weak-ref tests 1713s # End of GObject tests 1713s ok - glib/threadtests.test 1713s # Running test: glib/boxed.test 1713s TAP version 14 1713s # random seed: R02Saba1d0d3649e421f83fb477591098368 1713s 1..27 1713s # Start of boxed tests 1713s ok 1 /boxed/define 1713s ok 2 /boxed/ownership 1713s ok 3 /boxed/closure 1713s ok 4 /boxed/date 1713s ok 5 /boxed/value 1713s ok 6 /boxed/string 1713s ok 7 /boxed/hashtable 1713s ok 8 /boxed/array 1713s ok 9 /boxed/ptrarray 1713s ok 10 /boxed/regex 1713s ok 11 /boxed/varianttype 1713s ok 12 /boxed/error 1713s ok 13 /boxed/datetime 1713s ok 14 /boxed/matchinfo 1713s ok 15 /boxed/keyfile 1713s ok 16 /boxed/mainloop 1713s ok 17 /boxed/maincontext 1713s ok - glib/boxed.test 1713s # Running test: glib/bytes.test 1713s ok - glib/bytes.test 1713s # Running test: glib/contenttype.test 1713s ok 18 /boxed/source 1713s ok 19 /boxed/variantbuilder 1713s ok 20 /boxed/timezone 1713s ok 21 /boxed/pollfd 1713s ok 22 /boxed/markup 1713s ok 23 /boxed/thread 1713s ok 24 /boxed/checksum 1713s ok 25 /boxed/tree 1713s ok 26 /boxed/patternspec 1713s ok 27 /boxed/rand 1713s # End of boxed tests 1713s TAP version 14 1713s # random seed: R02Sfb1881b437ff9ba24dda3b893b0da601 1713s 1..21 1713s # Start of bytes tests 1713s ok 1 /bytes/new 1713s ok 2 /bytes/new-take 1713s ok 3 /bytes/new-static 1713s ok 4 /bytes/new-with-free-func 1713s ok 5 /bytes/new-from-bytes 1713s ok 6 /bytes/new-from-bytes-slice 1713s ok 7 /bytes/new-from-bytes-shared-ref 1713s ok 8 /bytes/hash 1713s ok 9 /bytes/equal 1713s ok 10 /bytes/compare 1713s ok 11 /bytes/null 1713s ok 12 /bytes/get-region 1713s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1713s ok 13 /bytes/unref-null 1713s # Start of to-data tests 1713s ok 14 /bytes/to-data/transferred 1713s ok 15 /bytes/to-data/two-refs 1713s ok 16 /bytes/to-data/non-malloc 1713s ok 17 /bytes/to-data/different-free-func 1713s # End of to-data tests 1713s # Start of to-array tests 1713s ok 18 /bytes/to-array/transferred 1713s ok 19 /bytes/to-array/two-refs 1713s ok 20 /bytes/to-array/non-malloc 1713s # Start of transferred tests 1713s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1713s ok 21 /bytes/to-array/transferred/oversize 1713s # End of transferred tests 1713s # End of to-array tests 1713s # End of bytes tests 1713s TAP version 14 1713s # random seed: R02Sd3797dc611bd5f0890ecb932be8b3082 1713s 1..14 1713s # Start of contenttype tests 1713s ok 1 /contenttype/guess 1713s ok 2 /contenttype/guess_svg_from_data 1713s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1713s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1713s ok 5 /contenttype/unknown 1713s ok 6 /contenttype/subtype 1713s ok 7 /contenttype/list 1713s ok 8 /contenttype/executable 1713s ok 9 /contenttype/description 1713s ok 10 /contenttype/icon 1713s ok 11 /contenttype/symbolic-icon 1713s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1713s ok 12 /contenttype/tree 1713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1713s ok 13 /contenttype/tree_invalid_encoding 1713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1713s ok 14 /contenttype/test_type_is_a_special_case 1713s # End of contenttype tests 1713s ok - glib/contenttype.test 1713s # Running test: glib/cmph-bdz.test 1713s TAP version 14 1713s # random seed: R02Se7643e13303caa216c62a7b93b7d256e 1713s 1..2 1713s # Start of cmph-bdz tests 1713s ok 1 /cmph-bdz/search 1713s ok 2 /cmph-bdz/search-packed 1713s # End of cmph-bdz tests 1713s ok - glib/cmph-bdz.test 1713s # Running test: glib/inet-address.test 1713s TAP version 14 1713s # random seed: R02Sc9ad67417d1c8c17f7c48ae3dc992752 1713s 1..11 1713s # Start of inet-address tests 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1713s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1713s ok 1 /inet-address/parse 1713s ok 2 /inet-address/any 1713s ok 3 /inet-address/loopback 1713s ok 4 /inet-address/bytes 1713s ok 5 /inet-address/property 1713s # End of inet-address tests 1713s # Start of socket-address tests 1713s ok 6 /socket-address/basic 1713s ok 7 /socket-address/to-string 1713s # End of socket-address tests 1713s # Start of address-mask tests 1713s ok 8 /address-mask/parse 1713s ok 9 /address-mask/property 1713s ok 10 /address-mask/equal 1713s ok 11 /address-mask/match 1713s # End of address-mask tests 1713s ok - glib/inet-address.test 1713s # Running test: glib/include.test 1713s TAP version 14 1713s # random seed: R02S03d1323299097fa7a6aa8074e7468b0c 1713s 1..1 1713s # Start of include tests 1713s ok 1 /include/rwlock 1713s # End of include tests 1713s ok - glib/include.test 1713s # Running test: glib/testing.test 1713s TAP version 14 1713s # random seed: R02S97507d410b3e08f1a7c8f215bf8c3833 1713s 1..1 1713s # Start of assert tests 1713s ok 1 /assert/finalize_object 1713s # Start of finalize_object tests 1713s # Start of subprocess tests 1713s # End of subprocess tests 1713s # End of finalize_object tests 1713s # End of assert tests 1713s ok - glib/testing.test 1713s # Running test: glib/macros-c-17.test 1713s TAP version 14 1713s # random seed: R02Sc947c46eca0cef23fe908d3703ddac1e 1713s 1..4 1713s # Start of C tests 1713s ok 1 /C/standard-17 1713s # End of C tests 1713s # Start of alignof tests 1713s ok 2 /alignof/fallback 1713s # End of alignof tests 1713s # Start of assert tests 1713s ok 3 /assert/static 1713s # End of assert tests 1713s # Start of struct tests 1713s ok 4 /struct/sizeof_member 1713s # End of struct tests 1713s ok - glib/macros-c-17.test 1713s # Running test: glib/mkenums.py.test 1713s TAP version 13 1713s ok 1 __main__.TestMkenums.test_available_in 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmppczf1sm8 1713s # rspfile: False 1713s # /tmp/tmppczf1sm8/tmp449o4tti.h: 1713s # typedef enum { 1713s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmppczf1sm8/tmpqq9lv83a.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppczf1sm8/tmpqq9lv83a.template', '/tmp/tmppczf1sm8/tmp449o4tti.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmppczf1sm8/tmp449o4tti.h 1713s # basename: tmp449o4tti.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmp824adu96 1713s # rspfile: False 1713s # /tmp/tmp824adu96/tmpfi46pzk1.h: 1713s # typedef enum { 1713s # ENUM_VALUE_WITH_COMMA = ',', 1713s # } TestCommaEnum; 1713s # 1713s # /tmp/tmp824adu96/tmp9vkzopu5.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp824adu96/tmp9vkzopu5.template', '/tmp/tmp824adu96/tmpfi46pzk1.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp824adu96/tmpfi46pzk1.h 1713s # basename: tmpfi46pzk1.h 1713s # enumeration-production 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_WITH_COMMA 1713s # valuenick: comma 1713s # valuenum: 44 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 3 __main__.TestMkenums.test_deprecated_in 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpategxune 1713s # rspfile: False 1713s # /tmp/tmpategxune/tmpe3h9uemn.h: 1713s # typedef enum { 1713s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmpategxune/tmpql8a5p37.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpategxune/tmpql8a5p37.template', '/tmp/tmpategxune/tmpe3h9uemn.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpategxune/tmpe3h9uemn.h 1713s # basename: tmpe3h9uemn.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 4 __main__.TestMkenums.test_deprecated_in_for 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmp6pr_f3rz 1713s # rspfile: False 1713s # /tmp/tmp6pr_f3rz/tmp3kjxsj37.h: 1713s # typedef enum { 1713s # 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) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmp6pr_f3rz/tmplrkutg0c.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6pr_f3rz/tmplrkutg0c.template', '/tmp/tmp6pr_f3rz/tmp3kjxsj37.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp6pr_f3rz/tmp3kjxsj37.h 1713s # basename: tmp3kjxsj37.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s # Executing: glib/mkenums.py.test 1713s ok 5 __main__.TestMkenums.test_empty_header 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmp726idnf5 1713s # rspfile: False 1713s # /tmp/tmp726idnf5/tmpqxxeegoq.h: 1713s # /tmp/tmp726idnf5/tmp63rvdhc1.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp726idnf5/tmp63rvdhc1.template', '/tmp/tmp726idnf5/tmpqxxeegoq.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 6 __main__.TestMkenums.test_empty_template 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmp3nbr2ezq 1713s # rspfile: False 1713s # /tmp/tmp3nbr2ezq/tmp2j2wuh7o.template: 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3nbr2ezq/tmp2j2wuh7o.template'] 1713s # Return code: 0 1713s # Output: 1713s # /* 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. */ 1713s # 1713s # 1713s # /* Generated data ends here */ 1713s # Error: 1713s ok 7 __main__.TestMkenums.test_enum_name 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpkbrnmy96 1713s # rspfile: False 1713s # /tmp/tmpkbrnmy96/tmpvehxj362.h: 1713s # typedef enum _SomeEnumIdentifier { 1713s # ENUM_VALUE 1713s # } SomeEnumIdentifier; 1713s # 1713s # /tmp/tmpkbrnmy96/tmp7zr_yk3w.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkbrnmy96/tmp7zr_yk3w.template', '/tmp/tmpkbrnmy96/tmpvehxj362.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpkbrnmy96/tmpvehxj362.h 1713s # basename: tmpvehxj362.h 1713s # enumeration-production 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE 1713s # valuenick: value 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 8 __main__.TestMkenums.test_enum_private_public 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpmrr9dg3e 1713s # rspfile: False 1713s # /tmp/tmpmrr9dg3e/tmp9o_ihwz9.h: 1713s # typedef enum { 1713s # ENUM_VALUE_PUBLIC1, 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE, 1713s # } SomeEnumA 1713s # 1713s # /tmp/tmpmrr9dg3e/tmpovtju6mz.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmrr9dg3e/tmpovtju6mz.template', '/tmp/tmpmrr9dg3e/tmp9o_ihwz9.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpmrr9dg3e/tmp9o_ihwz9.h 1713s # basename: tmp9o_ihwz9.h 1713s # enumeration-production 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC1 1713s # valuenick: public1 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s # 1713s # /tmp/tmpmrr9dg3e/tmpfa1pb_nb.h: 1713s # typedef enum { 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE, 1713s # /*< public >*/ 1713s # ENUM_VALUE_PUBLIC2, 1713s # } SomeEnumB; 1713s # 1713s # /tmp/tmpmrr9dg3e/tmptlwbv3ss.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmrr9dg3e/tmptlwbv3ss.template', '/tmp/tmpmrr9dg3e/tmpfa1pb_nb.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpmrr9dg3e/tmpfa1pb_nb.h 1713s # basename: tmpfa1pb_nb.h 1713s # enumeration-production 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC2 1713s # valuenick: public2 1713s # valuenum: 1 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpbfz5b43h 1713s # rspfile: False 1713s # /tmp/tmpbfz5b43h/tmpevh8yrbm.h: 1713s # typedef enum { 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE = 5, 1713s # /*< public >*/ 1713s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1713s # } TestSymbolicEnum; 1713s # 1713s # /tmp/tmpbfz5b43h/tmp6d98s4zy.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbfz5b43h/tmp6d98s4zy.template', '/tmp/tmpbfz5b43h/tmpevh8yrbm.h'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpbfz5b43h/tmpevh8yrbm.h 1713s # basename: tmpevh8yrbm.h 1713s # enumeration-production 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC 1713s # valuenick: public 1713s # valuenum: 7 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpqozt0ils 1713s # rspfile: False 1713s # /tmp/tmpqozt0ils/tmpma3oaf8j.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-tail ***/ 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqozt0ils/tmpma3oaf8j.template'] 1713s # Return code: 0 1713s # Output: 1713s # comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # file-tail 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # Error: 1713s # WARNING: @filename@ used in file-header section. 1713s # WARNING: @basename@ used in file-header section. 1713s # WARNING: @filename@ used in file-tail section. 1713s # WARNING: @basename@ used in file-tail section. 1713s ok 11 __main__.TestMkenums.test_help 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpjw9l4w2k 1713s # rspfile: False 1713s # Running: ['/usr/bin/glib-mkenums', '--help'] 1713s # Return code: 0 1713s # Output: 1713s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1713s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1713s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1713s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1713s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1713s # [--output OUTPUT] [--version] 1713s # [args ...] 1713s # 1713s # positional arguments: 1713s # args One or more input files, or a single argument 1713s # @rspfile_path pointing to a file that contains the 1713s # actual arguments 1713s # 1713s # options: 1713s # -h, --help show this help message and exit 1713s # --identifier-prefix IDPREFIX 1713s # Identifier prefix 1713s # --symbol-prefix SYMPREFIX 1713s # Symbol prefix 1713s # --fhead FHEAD Output file header 1713s # --ftail FTAIL Output file footer 1713s # --fprod FPROD Put out TEXT every time a new input file is being 1713s # processed. 1713s # --eprod EPROD Per enum text, produced prior to value iterations 1713s # --vhead VHEAD Value header, produced before iterating over enum 1713s # values 1713s # --vprod VPROD Value text, produced for each enum value. 1713s # --vtail VTAIL Value tail, produced after iterating over enum values 1713s # --comments COMMENT_TMPL 1713s # Comment structure 1713s # --template TEMPLATE Template file 1713s # --output OUTPUT 1713s # --version, -v Print version information 1713s # 1713s # Production text substitutions: 1713s # @EnumName@ PrefixTheXEnum 1713s # @enum_name@ prefix_the_xenum 1713s # @ENUMNAME@ PREFIX_THE_XENUM 1713s # @ENUMSHORT@ THE_XENUM 1713s # @ENUMPREFIX@ PREFIX 1713s # @enumsince@ the user-provided since value given 1713s # @VALUENAME@ PREFIX_THE_XVALUE 1713s # @valuenick@ the-xvalue 1713s # @valuenum@ the integer value (limited support, Since: 2.26) 1713s # @type@ either enum or flags 1713s # @Type@ either Enum or Flags 1713s # @TYPE@ either ENUM or FLAGS 1713s # @filename@ name of current input file 1713s # @basename@ base name of the current input file (Since: 2.22) 1713s # Error: 1713s ok 12 __main__.TestMkenums.test_no_args 1713s # glib-mkenums: /usr/bin/glib-mkenums 1713s # tmpdir: /tmp/tmpu919e727 1713s # rspfile: False 1713s # Running: ['/usr/bin/glib-mkenums'] 1713s # Return code: 0 1713s # Output: 1713s # /* 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. */ 1713s # 1713s # 1713s # /* Generated data ends here */ 1713s # Error: 1714s ok 13 __main__.TestMkenums.test_no_headers 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpm50vl69v 1714s # rspfile: False 1714s # /tmp/tmpm50vl69v/tmpeo16b5mn.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm50vl69v/tmpeo16b5mn.template'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 14 __main__.TestMkenums.test_no_nick 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpf0z9vakk 1714s # rspfile: False 1714s # /tmp/tmpf0z9vakk/tmpx8fimny_.h: 1714s # typedef enum { 1714s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1714s # } GeglSamplerType; 1714s # 1714s # /tmp/tmpf0z9vakk/tmptqjoxzb0.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf0z9vakk/tmptqjoxzb0.template', '/tmp/tmpf0z9vakk/tmpx8fimny_.h'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpf0z9vakk/tmpx8fimny_.h 1714s # basename: tmpx8fimny_.h 1714s # enumeration-production 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: GEGL_SAMPLER_NEAREST 1714s # valuenick: nearest 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpozgda0dw 1714s # rspfile: False 1714s # /tmp/tmpozgda0dw/tmpev_bcidq.h: 1714s # /* Copyright © La Peña */ 1714s # typedef enum { 1714s # ENUM_VALUE 1714s # } SomeEnumIdentifier; 1714s # 1714s # /tmp/tmpozgda0dw/tmppjsuqun6.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpozgda0dw/tmppjsuqun6.template', '/tmp/tmpozgda0dw/tmpev_bcidq.h'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpozgda0dw/tmpev_bcidq.h 1714s # basename: tmpev_bcidq.h 1714s # enumeration-production 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE 1714s # valuenick: value 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1714s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1714s ok 16 __main__.TestMkenums.test_reproducible 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpzpnp8cb6 1714s # rspfile: False 1714s # /tmp/tmpzpnp8cb6/tmpv8qanx14.template: template 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzpnp8cb6/tmpv8qanx14.template', '/tmp/tmpzpnp8cb6/tmpxcbdeavo1.h', '/tmp/tmpzpnp8cb6/tmpe98w4o9i2.h'] 1714s # Return code: 0 1714s # Output: 1714s # /* 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s # Error: 1714s # 1714s # /tmp/tmpzpnp8cb6/tmpk_d8p6fh.template: template 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzpnp8cb6/tmpk_d8p6fh.template', '/tmp/tmpzpnp8cb6/tmpe98w4o9i2.h', '/tmp/tmpzpnp8cb6/tmpxcbdeavo1.h'] 1714s # Return code: 0 1714s # Output: 1714s # /* 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s # Error: 1714s ok 17 __main__.TestMkenums.test_since 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmp5uz73m4f 1714s # rspfile: False 1714s # /tmp/tmp5uz73m4f/tmpz8qcfk7c.h: 1714s # typedef enum { /*< since=1.0 >*/ 1714s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1714s # } QmiWmsMessageProtocol; 1714s # 1714s # /tmp/tmp5uz73m4f/tmphioaislg.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5uz73m4f/tmphioaislg.template', '/tmp/tmp5uz73m4f/tmpz8qcfk7c.h'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmp5uz73m4f/tmpz8qcfk7c.h 1714s # basename: tmpz8qcfk7c.h 1714s # enumeration-production 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1714s # valuenick: cdma 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 18 __main__.TestMkenums.test_with_double_quotes 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpfftx64zq 1714s # rspfile: False 1714s # /tmp/tmpfftx64zq/tmptk_h8wpm.h: 1714s # typedef enum { 1714s # FOO_VALUE /*< nick="eek, a comma" >*/ 1714s # } Foo; 1714s # 1714s # /tmp/tmpfftx64zq/tmpk18p1du3.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfftx64zq/tmpk18p1du3.template', '/tmp/tmpfftx64zq/tmptk_h8wpm.h'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpfftx64zq/tmptk_h8wpm.h 1714s # basename: tmptk_h8wpm.h 1714s # enumeration-production 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: FOO_VALUE 1714s # valuenick: eek, a comma 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 19 __main__.TestRspMkenums.test_available_in 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpqp7pfcb_ 1714s # rspfile: True 1714s # /tmp/tmpqp7pfcb_/tmpjhcv7sig.h: 1714s # typedef enum { 1714s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmpqp7pfcb_/tmpffxn85yz.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpqp7pfcb_/tmpffxn85yz.template /tmp/tmpqp7pfcb_/tmpjhcv7sig.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqp7pfcb_/tmpfoc7271j'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpqp7pfcb_/tmpjhcv7sig.h 1714s # basename: tmpjhcv7sig.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpnoltxtl3 1714s # rspfile: True 1714s # /tmp/tmpnoltxtl3/tmprrxar5al.h: 1714s # typedef enum { 1714s # ENUM_VALUE_WITH_COMMA = ',', 1714s # } TestCommaEnum; 1714s # 1714s # /tmp/tmpnoltxtl3/tmprl41ggbm.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpnoltxtl3/tmprl41ggbm.template /tmp/tmpnoltxtl3/tmprrxar5al.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnoltxtl3/tmpx3_fy94f'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpnoltxtl3/tmprrxar5al.h 1714s # basename: tmprrxar5al.h 1714s # enumeration-production 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_WITH_COMMA 1714s # valuenick: comma 1714s # valuenum: 44 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 21 __main__.TestRspMkenums.test_deprecated_in 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmp5qwpf985 1714s # rspfile: True 1714s # /tmp/tmp5qwpf985/tmpkjdsod4n.h: 1714s # typedef enum { 1714s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmp5qwpf985/tmpnvax0qoh.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmp5qwpf985/tmpnvax0qoh.template /tmp/tmp5qwpf985/tmpkjdsod4n.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5qwpf985/tmp4xvddpvz'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmp5qwpf985/tmpkjdsod4n.h 1714s # basename: tmpkjdsod4n.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpwd2fbfwg 1714s # rspfile: True 1714s # /tmp/tmpwd2fbfwg/tmp1fb8ua47.h: 1714s # typedef enum { 1714s # 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) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmpwd2fbfwg/tmpzodtsz26.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpwd2fbfwg/tmpzodtsz26.template /tmp/tmpwd2fbfwg/tmp1fb8ua47.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwd2fbfwg/tmpu74diecn'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpwd2fbfwg/tmp1fb8ua47.h 1714s # basename: tmp1fb8ua47.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 23 __main__.TestRspMkenums.test_empty_header 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpk021vz2d 1714s # rspfile: True 1714s # /tmp/tmpk021vz2d/tmpq9znrpd7.h: 1714s # /tmp/tmpk021vz2d/tmps1qq9uke.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpk021vz2d/tmps1qq9uke.template /tmp/tmpk021vz2d/tmpq9znrpd7.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk021vz2d/tmpuxbeiiji'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 24 __main__.TestRspMkenums.test_empty_template 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmppuaqrq8g 1714s # rspfile: True 1714s # /tmp/tmppuaqrq8g/tmpwk0rxo70.template: 1714s # Response file contains: --template /tmp/tmppuaqrq8g/tmpwk0rxo70.template 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppuaqrq8g/tmp1taulmwy'] 1714s # Return code: 0 1714s # Output: 1714s # /* 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s # Error: 1714s ok 25 __main__.TestRspMkenums.test_enum_name 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpzagttf_x 1714s # rspfile: True 1714s # /tmp/tmpzagttf_x/tmpk5bhih0q.h: 1714s # typedef enum _SomeEnumIdentifier { 1714s # ENUM_VALUE 1714s # } SomeEnumIdentifier; 1714s # 1714s # /tmp/tmpzagttf_x/tmpb7orow6v.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpzagttf_x/tmpb7orow6v.template /tmp/tmpzagttf_x/tmpk5bhih0q.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzagttf_x/tmp8fvf22rk'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpzagttf_x/tmpk5bhih0q.h 1714s # basename: tmpk5bhih0q.h 1714s # enumeration-production 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE 1714s # valuenick: value 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 26 __main__.TestRspMkenums.test_enum_private_public 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpth5kbyah 1714s # rspfile: True 1714s # /tmp/tmpth5kbyah/tmp7e6jtj3w.h: 1714s # typedef enum { 1714s # ENUM_VALUE_PUBLIC1, 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE, 1714s # } SomeEnumA 1714s # 1714s # /tmp/tmpth5kbyah/tmp0s_6csvx.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpth5kbyah/tmp0s_6csvx.template /tmp/tmpth5kbyah/tmp7e6jtj3w.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpth5kbyah/tmpqrfvpxmt'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpth5kbyah/tmp7e6jtj3w.h 1714s # basename: tmp7e6jtj3w.h 1714s # enumeration-production 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC1 1714s # valuenick: public1 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s # 1714s # /tmp/tmpth5kbyah/tmp2zqeninq.h: 1714s # typedef enum { 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE, 1714s # /*< public >*/ 1714s # ENUM_VALUE_PUBLIC2, 1714s # } SomeEnumB; 1714s # 1714s # /tmp/tmpth5kbyah/tmpn7up_g1w.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpth5kbyah/tmpn7up_g1w.template /tmp/tmpth5kbyah/tmp2zqeninq.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpth5kbyah/tmpcexyukwk'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpth5kbyah/tmp2zqeninq.h 1714s # basename: tmp2zqeninq.h 1714s # enumeration-production 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC2 1714s # valuenick: public2 1714s # valuenum: 1 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpzs51n1e3 1714s # rspfile: True 1714s # /tmp/tmpzs51n1e3/tmpgy0xskn7.h: 1714s # typedef enum { 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE = 5, 1714s # /*< public >*/ 1714s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1714s # } TestSymbolicEnum; 1714s # 1714s # /tmp/tmpzs51n1e3/tmpvns8xj10.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpzs51n1e3/tmpvns8xj10.template /tmp/tmpzs51n1e3/tmpgy0xskn7.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzs51n1e3/tmp45kqiayu'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpzs51n1e3/tmpgy0xskn7.h 1714s # basename: tmpgy0xskn7.h 1714s # enumeration-production 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC 1714s # valuenick: public 1714s # valuenum: 7 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpj8bq3d7y 1714s # rspfile: True 1714s # /tmp/tmpj8bq3d7y/tmp2tuhswpn.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-tail ***/ 1714s # Response file contains: --template /tmp/tmpj8bq3d7y/tmp2tuhswpn.template 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj8bq3d7y/tmpvfsloeof'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # file-tail 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s # WARNING: @filename@ used in file-header section. 1714s # WARNING: @basename@ used in file-header section. 1714s # WARNING: @filename@ used in file-tail section. 1714s # WARNING: @basename@ used in file-tail section. 1714s ok 29 __main__.TestRspMkenums.test_help 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmp_gbk79c3 1714s # rspfile: True 1714s # Response file contains: --help 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_gbk79c3/tmpve1opct9'] 1714s # Return code: 0 1714s # Output: 1714s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1714s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1714s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1714s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1714s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1714s # [--output OUTPUT] [--version] 1714s # [args ...] 1714s # 1714s # positional arguments: 1714s # args One or more input files, or a single argument 1714s # @rspfile_path pointing to a file that contains the 1714s # actual arguments 1714s # 1714s # options: 1714s # -h, --help show this help message and exit 1714s # --identifier-prefix IDPREFIX 1714s # Identifier prefix 1714s # --symbol-prefix SYMPREFIX 1714s # Symbol prefix 1714s # --fhead FHEAD Output file header 1714s # --ftail FTAIL Output file footer 1714s # --fprod FPROD Put out TEXT every time a new input file is being 1714s # processed. 1714s # --eprod EPROD Per enum text, produced prior to value iterations 1714s # --vhead VHEAD Value header, produced before iterating over enum 1714s # values 1714s # --vprod VPROD Value text, produced for each enum value. 1714s # --vtail VTAIL Value tail, produced after iterating over enum values 1714s # --comments COMMENT_TMPL 1714s # Comment structure 1714s # --template TEMPLATE Template file 1714s # --output OUTPUT 1714s # --version, -v Print version information 1714s # 1714s # Production text substitutions: 1714s # @EnumName@ PrefixTheXEnum 1714s # @enum_name@ prefix_the_xenum 1714s # @ENUMNAME@ PREFIX_THE_XENUM 1714s # @ENUMSHORT@ THE_XENUM 1714s # @ENUMPREFIX@ PREFIX 1714s # @enumsince@ the user-provided since value given 1714s # @VALUENAME@ PREFIX_THE_XVALUE 1714s # @valuenick@ the-xvalue 1714s # @valuenum@ the integer value (limited support, Since: 2.26) 1714s # @type@ either enum or flags 1714s # @Type@ either Enum or Flags 1714s # @TYPE@ either ENUM or FLAGS 1714s # @filename@ name of current input file 1714s # @basename@ base name of the current input file (Since: 2.22) 1714s # Error: 1714s ok 30 __main__.TestRspMkenums.test_no_args 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpmycuz7c1 1714s # rspfile: True 1714s # Response file contains: 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmycuz7c1/tmpt2ftkx1n'] 1714s # Return code: 0 1714s # Output: 1714s # /* 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s # Error: 1714s ok 31 __main__.TestRspMkenums.test_no_headers 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmpv85vnveg 1714s # rspfile: True 1714s # /tmp/tmpv85vnveg/tmp0olli8lc.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpv85vnveg/tmp0olli8lc.template 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv85vnveg/tmp6m1wjgyi'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1714s ok 32 __main__.TestRspMkenums.test_no_nick 1714s # glib-mkenums: /usr/bin/glib-mkenums 1714s # tmpdir: /tmp/tmp1areimvm 1714s # rspfile: True 1714s # /tmp/tmp1areimvm/tmpyzgh4skv.h: 1714s # typedef enum { 1714s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1714s # } GeglSamplerType; 1714s # 1714s # /tmp/tmp1areimvm/tmpskfnlfjf.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmp1areimvm/tmpskfnlfjf.template /tmp/tmp1areimvm/tmpyzgh4skv.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1areimvm/tmpc6ge5mae'] 1714s # Return code: 0 1714s # Output: 1714s # comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmp1areimvm/tmpyzgh4skv.h 1714s # basename: tmpyzgh4skv.h 1714s # enumeration-production 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: GEGL_SAMPLER_NEAREST 1714s # valuenick: nearest 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: GeglSamplerType 1714s # enum_name: gegl_sampler_type 1714s # ENUMNAME: GEGL_SAMPLER_TYPE 1714s # ENUMSHORT: SAMPLER_TYPE 1714s # ENUMPREFIX: GEGL 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # Error: 1715s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1715s # glib-mkenums: /usr/bin/glib-mkenums 1715s # tmpdir: /tmp/tmph4rq0ppz 1715s # rspfile: True 1715s # /tmp/tmph4rq0ppz/tmpnq3tkh4y.h: 1715s # /* Copyright © La Peña */ 1715s # typedef enum { 1715s # ENUM_VALUE 1715s # } SomeEnumIdentifier; 1715s # 1715s # /tmp/tmph4rq0ppz/tmpu2onyloc.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmph4rq0ppz/tmpu2onyloc.template /tmp/tmph4rq0ppz/tmpnq3tkh4y.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph4rq0ppz/tmp3cs9vlua'] 1715s # Return code: 0 1715s # Output: 1715s # comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmph4rq0ppz/tmpnq3tkh4y.h 1715s # basename: tmpnq3tkh4y.h 1715s # enumeration-production 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: ENUM_VALUE 1715s # valuenick: value 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s # Error: 1715s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1715s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1715s ok 34 __main__.TestRspMkenums.test_reproducible 1715s # glib-mkenums: /usr/bin/glib-mkenums 1715s # tmpdir: /tmp/tmpiljr9je_ 1715s # rspfile: True 1715s # /tmp/tmpiljr9je_/tmppcqb908k.template: template 1715s # Response file contains: --template /tmp/tmpiljr9je_/tmppcqb908k.template /tmp/tmpiljr9je_/tmp492q8s7f1.h /tmp/tmpiljr9je_/tmps7s9hzym2.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiljr9je_/tmp7w7v32lw'] 1715s # Return code: 0 1715s # Output: 1715s # /* 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. */ 1715s # 1715s # 1715s # /* Generated data ends here */ 1715s # Error: 1715s # 1715s # /tmp/tmpiljr9je_/tmp12dj1qt9.template: template 1715s # Response file contains: --template /tmp/tmpiljr9je_/tmp12dj1qt9.template /tmp/tmpiljr9je_/tmps7s9hzym2.h /tmp/tmpiljr9je_/tmp492q8s7f1.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiljr9je_/tmp_4jfx62z'] 1715s # Return code: 0 1715s # Output: 1715s # /* 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. */ 1715s # 1715s # 1715s # /* Generated data ends here */ 1715s # Error: 1715s ok 35 __main__.TestRspMkenums.test_since 1715s # glib-mkenums: /usr/bin/glib-mkenums 1715s # tmpdir: /tmp/tmpwcfqszs_ 1715s # rspfile: True 1715s # /tmp/tmpwcfqszs_/tmpsa40elvv.h: 1715s # typedef enum { /*< since=1.0 >*/ 1715s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1715s # } QmiWmsMessageProtocol; 1715s # 1715s # /tmp/tmpwcfqszs_/tmpiv0r03f_.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmpwcfqszs_/tmpiv0r03f_.template /tmp/tmpwcfqszs_/tmpsa40elvv.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwcfqszs_/tmpo_kp0yod'] 1715s # Return code: 0 1715s # Output: 1715s # comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmpwcfqszs_/tmpsa40elvv.h 1715s # basename: tmpsa40elvv.h 1715s # enumeration-production 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1715s # valuenick: cdma 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s # Error: 1715s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1715s # glib-mkenums: /usr/bin/glib-mkenums 1715s # tmpdir: /tmp/tmp3zg9y6q_ 1715s # rspfile: True 1715s # /tmp/tmp3zg9y6q_/tmpb22neiam.h: 1715s # typedef enum { 1715s # FOO_VALUE /*< nick="eek, a comma" >*/ 1715s # } Foo; 1715s # 1715s # /tmp/tmp3zg9y6q_/tmp8xkvxs8n.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmp3zg9y6q_/tmp8xkvxs8n.template /tmp/tmp3zg9y6q_/tmpb22neiam.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3zg9y6q_/tmpoku9u4f8'] 1715s # Return code: 0 1715s # Output: 1715s # comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmp3zg9y6q_/tmpb22neiam.h 1715s # basename: tmpb22neiam.h 1715s # enumeration-production 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: FOO_VALUE 1715s # valuenick: eek, a comma 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s # Error: 1715s 1..36 1715s ok - glib/mkenums.py.test 1715s # Running test: glib/signals-refcount4.test 1715s TAP version 14 1715s # random seed: R02S44a6333d88db176f5501de12213b190a 1715s 1..1 1715s # Start of gobject tests 1715s # Start of refcount tests 1715s # init 0xb978fa1324b0 1715s # 1715s # init 0xb978fa12a580 1715s # 1718s # Executing: glib/signals-refcount4.test 1720s ok - glib/signals-refcount4.test 1720s # Running test: glib/resolver-parsing.test 1720s # dispose 0xb978fa1324b0! 1720s # 1720s # dispose 0xb978fa12a580! 1720s # 1720s ok 1 /gobject/refcount/signals 1720s # slow test /gobject/refcount/signals executed in 5.00 secs 1720s # End of refcount tests 1720s # End of gobject tests 1720s TAP version 14 1720s # random seed: R02S55143a046bb5fc42c252f408cac3402e 1720s 1..21 1720s # Start of gresolver tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/invalid-header/.dirs/runtime 1720s ok 1 /gresolver/invalid-header 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/record-ownership/.dirs/runtime 1720s ok 2 /gresolver/record-ownership 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/unknown-record-type/.dirs/runtime 1720s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1720s ok 3 /gresolver/unknown-record-type 1720s # Start of mx tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/valid/.dirs/runtime 1720s ok 4 /gresolver/mx/valid 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/.dirs/runtime 1720s ok 5 /gresolver/mx/invalid 1720s # Start of invalid tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short/.dirs/runtime 1720s ok 6 /gresolver/mx/invalid/too-short 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/mx/invalid/too-short2/.dirs/runtime 1720s ok 7 /gresolver/mx/invalid/too-short2 1720s # End of invalid tests 1720s # End of mx tests 1720s # Start of ns tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/valid/.dirs/runtime 1720s ok 8 /gresolver/ns/valid 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/ns/invalid/.dirs/runtime 1720s ok 9 /gresolver/ns/invalid 1720s # End of ns tests 1720s # Start of soa tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/valid/.dirs/runtime 1720s ok 10 /gresolver/soa/valid 1720s # Start of invalid tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/mname/.dirs/runtime 1720s ok 11 /gresolver/soa/invalid/mname 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/rname/.dirs/runtime 1720s ok 12 /gresolver/soa/invalid/rname 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/soa/invalid/too-short/.dirs/runtime 1720s ok 13 /gresolver/soa/invalid/too-short 1720s # End of invalid tests 1720s # End of soa tests 1720s # Start of srv tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/valid/.dirs/runtime 1720s ok 14 /gresolver/srv/valid 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/.dirs/runtime 1720s ok 15 /gresolver/srv/invalid 1720s # Start of invalid tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short/.dirs/runtime 1720s ok 16 /gresolver/srv/invalid/too-short 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/srv/invalid/too-short2/.dirs/runtime 1720s ok 17 /gresolver/srv/invalid/too-short2 1720s # End of invalid tests 1720s # End of srv tests 1720s # Start of txt tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/.dirs/runtime 1720s ok 18 /gresolver/txt/valid 1720s # Start of valid tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1720s ok 19 /gresolver/txt/valid/multiple-strings 1720s # End of valid tests 1720s # Start of invalid tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/empty/.dirs/runtime 1720s ok 20 /gresolver/txt/invalid/empty 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_9WFIJ3/gresolver/txt/invalid/overflow/.dirs/runtime 1720s ok 21 /gresolver/txt/invalid/overflow 1720s # End of invalid tests 1720s # End of txt tests 1720s # End of gresolver tests 1720s TAP version 14 1720s # random seed: R02Sd29b91f97e88ad0b64b1225a40890d66 1720s 1..6 1720s # Start of thread_pool tests 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1720s ok 1 /thread_pool/pool_fail 1720s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1720s ok 2 /thread_pool/shared 1720s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1720s ok 3 /thread_pool/exclusive 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1720s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1720s ok 4 /thread_pool/create_shared_after_exclusive 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1720s ok - glib/resolver-parsing.test 1720s # Running test: glib/thread-pool.test 1720s ok - glib/thread-pool.test 1720s # Running test: glib/gthash.test 1720s ok - glib/gthash.test 1720s # Running test: glib/static-link.test 1720s ok 5 /thread_pool/create_full 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1720s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1720s ok 6 /thread_pool/create_exclusive_after_shared 1720s # End of thread_pool tests 1720s TAP version 14 1720s # random seed: R02S1a7934def85b3cf9ed405fbf40dbed97 1720s 1..1 1720s # Start of gthash tests 1720s ok 1 /gthash/build-retrieve 1720s # End of gthash tests 1720s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1720s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1720s and make sure you have glib build dependencies installed, including 1720s meson. 1720s ok # SKIP - glib/static-link.test 1720s # Running test: glib/network-address.test 1720s TAP version 14 1720s # random seed: R02S6741af0ebdbe1b3f04a9216bcd7c295f 1720s 1..72 1720s # Start of network-address tests 1720s ok 1 /network-address/basic 1720s ok 2 /network-address/scope-id 1720s ok 3 /network-address/uri-scope-id 1720s ok 4 /network-address/to-string 1720s # Start of parse-host tests 1720s ok 5 /network-address/parse-host/0 1720s ok 6 /network-address/parse-host/1 1720s ok 7 /network-address/parse-host/2 1720s ok 8 /network-address/parse-host/3 1720s ok 9 /network-address/parse-host/4 1720s ok 10 /network-address/parse-host/5 1720s ok 11 /network-address/parse-host/6 1720s ok 12 /network-address/parse-host/7 1720s ok 13 /network-address/parse-host/8 1720s ok 14 /network-address/parse-host/9 1720s ok 15 /network-address/parse-host/10 1720s ok 16 /network-address/parse-host/11 1720s ok 17 /network-address/parse-host/12 1720s ok 18 /network-address/parse-host/13 1720s # End of parse-host tests 1720s # Start of parse-uri tests 1720s ok 19 /network-address/parse-uri/0 1720s ok 20 /network-address/parse-uri/1 1720s ok 21 /network-address/parse-uri/2 1720s ok 22 /network-address/parse-uri/3 1720s ok 23 /network-address/parse-uri/4 1720s ok 24 /network-address/parse-uri/5 1720s ok 25 /network-address/parse-uri/6 1720s ok 26 /network-address/parse-uri/7 1720s ok 27 /network-address/parse-uri/8 1720s ok 28 /network-address/parse-uri/9 1720s # End of parse-uri tests 1720s # Start of resolve-address tests 1720s # Input: 192.168.1.2 1720s ok 29 /network-address/resolve-address/0 1720s # Input: fe80::42 1720s ok 30 /network-address/resolve-address/1 1720s # Input: 192.168.1.2:80 1720s ok 31 /network-address/resolve-address/2 1720s # Input: [fe80::42] 1720s ok 32 /network-address/resolve-address/3 1720s # Input: [fe80::42]:80 1720s ok 33 /network-address/resolve-address/4 1720s # Input: 192.168.258 1720s ok 34 /network-address/resolve-address/5 1720s # Input: 192.11010306 1720s ok 35 /network-address/resolve-address/6 1720s # Input: 3232235778 1720s ok 36 /network-address/resolve-address/7 1720s # Input: 0300.0250.0001.0001 1720s ok 37 /network-address/resolve-address/8 1720s # Input: 0xC0.0xA8.0x01.0x02 1720s ok 38 /network-address/resolve-address/9 1720s # Input: 0xc0.0xa8.0x01.0x02 1720s ok 39 /network-address/resolve-address/10 1720s # Input: 0xc0a80102 1720s ok 40 /network-address/resolve-address/11 1720s # End of resolve-address tests 1720s # Start of loopback tests 1720s ok 41 /network-address/loopback/basic 1720s ok 42 /network-address/loopback/sync 1720s ok 43 /network-address/loopback/async 1720s # End of loopback tests 1720s # Start of localhost tests 1720s ok 44 /network-address/localhost/async 1720s ok 45 /network-address/localhost/sync 1720s # End of localhost tests 1720s # Start of happy-eyeballs tests 1720s ok 46 /network-address/happy-eyeballs/basic 1720s ok 47 /network-address/happy-eyeballs/parallel 1720s ok 48 /network-address/happy-eyeballs/slow-ipv4 1720s ok 49 /network-address/happy-eyeballs/slow-ipv6 1720s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1721s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1721s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1721s # /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. 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s ok 57 /network-address/happy-eyeballs/both-error 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1721s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1721s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1721s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1721s # End of happy-eyeballs tests 1721s # End of network-address tests 1721s # Start of gresolver tests 1721s # Start of resolve-address tests 1721s # Input: 192.168.1.2 1721s ok 61 /gresolver/resolve-address/0 1721s # Input: fe80::42 1721s ok 62 /gresolver/resolve-address/1 1721s # Input: 192.168.1.2:80 1721s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1721s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1721s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1721s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1721s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1721s ok 63 /gresolver/resolve-address/2 1721s # Input: [fe80::42] 1721s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1721s # Error: Error resolving “[fe80::42]”: Name or service not known 1721s ok 64 /gresolver/resolve-address/3 1721s # Input: [fe80::42]:80 1721s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1721s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1721s ok 65 /gresolver/resolve-address/4 1721s ok - glib/network-address.test 1721s # Running test: glib/utils-c-99.test 1721s # Input: 192.168.258 1721s # Error: Error resolving “192.168.258”: Name or service not known 1721s ok 66 /gresolver/resolve-address/5 1721s # Input: 192.11010306 1721s # Error: Error resolving “192.11010306”: Name or service not known 1721s ok 67 /gresolver/resolve-address/6 1721s # Input: 3232235778 1721s # Error: Error resolving “3232235778”: Name or service not known 1721s ok 68 /gresolver/resolve-address/7 1721s # Input: 0300.0250.0001.0001 1721s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1721s ok 69 /gresolver/resolve-address/8 1721s # Input: 0xC0.0xA8.0x01.0x02 1721s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1721s ok 70 /gresolver/resolve-address/9 1721s # Input: 0xc0.0xa8.0x01.0x02 1721s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1721s ok 71 /gresolver/resolve-address/10 1721s # Input: 0xc0a80102 1721s # Error: Error resolving “0xc0a80102”: Name or service not known 1721s ok 72 /gresolver/resolve-address/11 1721s # End of resolve-address tests 1721s # End of gresolver tests 1721s TAP version 14 1721s # random seed: R02S7fbd7ed8974feb49b640cdebe32ed316 1721s 1..41 1721s # Start of utils tests 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/language-names/.dirs/runtime 1721s ok 1 /utils/language-names 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/locale-variants/.dirs/runtime 1721s # Testing locale ‘en’ 1721s # Testing locale ‘sr@latin’ 1721s # Testing locale ‘fr_BE’ 1721s # Testing locale ‘sr_SR@latin’ 1721s # Testing locale ‘sr_SR@latin.UTF-8’ 1721s # Testing locale ‘sr@latin_invalid’ 1721s # Testing locale ‘sr.UTF-8@latin’ 1721s # Testing locale ‘sr.UTF-8_latin’ 1721s # Testing locale ‘sr.UTF-8@latin_invalid’ 1721s ok 2 /utils/locale-variants 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/version/.dirs/runtime 1721s ok 3 /utils/version 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/appname/.dirs/runtime 1721s ok 4 /utils/appname 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/prgname-thread-safety/.dirs/runtime 1721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1721s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1721s ok 5 /utils/prgname-thread-safety 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/tmpdir/.dirs/runtime 1721s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1721s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/tmpdir: No such file or directory 1721s ok 6 /utils/tmpdir 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/basic_bits/.dirs/runtime 1721s ok 7 /utils/basic_bits 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/bits/.dirs/runtime 1721s ok 8 /utils/bits 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/swap/.dirs/runtime 1721s ok 9 /utils/swap 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/find-program/.dirs/runtime 1721s ok 10 /utils/find-program 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/find-program-for-path/.dirs/runtime 1721s ok 11 /utils/find-program-for-path 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/debug/.dirs/runtime 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/debug: No such file or directory 1721s ok 12 /utils/debug 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/codeset/.dirs/runtime 1721s ok 13 /utils/codeset 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/codeset2/.dirs/runtime 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/codeset2: No such file or directory 1721s ok 14 /utils/codeset2 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/console-charset/.dirs/runtime 1721s ok 15 /utils/console-charset 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/gettext/.dirs/runtime 1721s ok 16 /utils/gettext 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/username/.dirs/runtime 1721s ok 17 /utils/username 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/realname/.dirs/runtime 1721s ok 18 /utils/realname 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/hostname/.dirs/runtime 1721s ok 19 /utils/hostname 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/os-info/.dirs/runtime 1721s # NAME: Ubuntu 1721s ok 20 /utils/os-info 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/.dirs/runtime 1721s ok 21 /utils/clear-pointer 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer-cast/.dirs/runtime 1721s ok 22 /utils/clear-pointer-cast 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/take-pointer/.dirs/runtime 1721s ok 23 /utils/take-pointer 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-source/.dirs/runtime 1721s ok 24 /utils/clear-source 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/misc-mem/.dirs/runtime 1721s ok 25 /utils/misc-mem 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/.dirs/runtime 1721s # /utils/aligned-mem summary: Aligned memory allocator 1721s # Alignment must not be zero 1721s # Alignment must be a power of two 1721s # Alignment must be a multiple of sizeof(void*) 1721s ok 26 /utils/aligned-mem 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/free-sized/.dirs/runtime 1721s # /utils/free-sized summary: Check that g_free_sized() works 1721s ok 27 /utils/free-sized 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/nullify/.dirs/runtime 1721s ok 28 /utils/nullify 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/atexit/.dirs/runtime 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/atexit: No such file or directory 1721s ok 29 /utils/atexit 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/check-setuid/.dirs/runtime 1721s ok 30 /utils/check-setuid 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/int-limits/.dirs/runtime 1721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1721s ok 31 /utils/int-limits 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-list/.dirs/runtime 1721s ok 32 /utils/clear-list 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-slist/.dirs/runtime 1721s ok 33 /utils/clear-slist 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/steal-handle-id/.dirs/runtime 1721s ok 34 /utils/steal-handle-id 1721s # Start of user-special-dirs tests 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/desktop/.dirs/runtime 1721s ok 35 /utils/user-special-dirs/desktop 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1721s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/load-unlocked: No such file or directory 1721s ok 36 /utils/user-special-dirs/load-unlocked 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1721s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1721s Unable to clean up temporary directory /tmp/test_utils-c-99_AQS2J3/utils/user-special-dirs/reload-leaks: No such file or directory 1721s ok 37 /utils/user-special-dirs/reload-leaks 1721s # End of user-special-dirs tests 1721s # Start of clear-pointer tests 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/clear-pointer/side-effects/.dirs/runtime 1721s ok 38 /utils/clear-pointer/side-effects 1721s # End of clear-pointer tests 1721s # Start of aligned-mem tests 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/alignment/.dirs/runtime 1721s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1721s ok 39 /utils/aligned-mem/alignment 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/zeroed/.dirs/runtime 1721s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1721s ok 40 /utils/aligned-mem/zeroed 1721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/home 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/cache 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/system-config2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/config 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/system-data2 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/data 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/state 1721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_AQS2J3/utils/aligned-mem/free-sized/.dirs/runtime 1721s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1721s ok 41 /utils/aligned-mem/free-sized 1721s # Start of subprocess tests 1721s # End of subprocess tests 1721s # End of aligned-mem tests 1721s # End of utils tests 1721s ok - glib/utils-c-99.test 1721s # Running test: glib/markup-parse.test 1721s TAP version 14 1721s # random seed: R02S2bbf6fab82975847c1fd8cd3fb75071c 1721s 1..71 1721s # Start of markup tests 1721s # Start of parse tests 1721s ok 1 /markup/parse/fail-15.gmarkup 1721s ok 2 /markup/parse/fail-18.gmarkup 1721s ok 3 /markup/parse/fail-6.gmarkup 1721s ok 4 /markup/parse/fail-14.gmarkup 1721s ok 5 /markup/parse/fail-5.gmarkup 1721s ok - glib/markup-parse.test 1721s # Running test: glib/test-printf.test 1721s ok 6 /markup/parse/fail-7.gmarkup 1721s ok 7 /markup/parse/valid-4.gmarkup 1721s ok 8 /markup/parse/fail-38.gmarkup 1721s ok 9 /markup/parse/fail-33.gmarkup 1721s ok 10 /markup/parse/fail-30.gmarkup 1721s ok 11 /markup/parse/fail-16.gmarkup 1721s ok 12 /markup/parse/fail-9.gmarkup 1721s ok 13 /markup/parse/valid-14.gmarkup 1721s ok 14 /markup/parse/fail-51.gmarkup 1721s ok 15 /markup/parse/valid-6.gmarkup 1721s ok 16 /markup/parse/valid-1.gmarkup 1721s ok 17 /markup/parse/fail-54.gmarkup 1721s ok 18 /markup/parse/valid-12.gmarkup 1721s ok 19 /markup/parse/fail-20.gmarkup 1721s ok 20 /markup/parse/fail-8.gmarkup 1721s ok 21 /markup/parse/valid-5.gmarkup 1721s ok 22 /markup/parse/valid-13.gmarkup 1721s ok 23 /markup/parse/fail-50.gmarkup 1721s ok 24 /markup/parse/fail-47.gmarkup 1721s ok 25 /markup/parse/fail-19.gmarkup 1721s ok 26 /markup/parse/fail-39.gmarkup 1721s ok 27 /markup/parse/fail-52.gmarkup 1721s ok 28 /markup/parse/valid-11.gmarkup 1721s ok 29 /markup/parse/fail-44.gmarkup 1721s ok 30 /markup/parse/fail-23.gmarkup 1721s ok 31 /markup/parse/fail-46.gmarkup 1721s ok 32 /markup/parse/fail-28.gmarkup 1721s ok 33 /markup/parse/fail-32.gmarkup 1721s ok 34 /markup/parse/fail-42.gmarkup 1721s ok 35 /markup/parse/fail-3.gmarkup 1721s ok 36 /markup/parse/fail-12.gmarkup 1721s ok 37 /markup/parse/valid-10.gmarkup 1721s ok 38 /markup/parse/fail-34.gmarkup 1721s ok 39 /markup/parse/valid-7.gmarkup 1721s ok 40 /markup/parse/fail-13.gmarkup 1721s ok 41 /markup/parse/fail-17.gmarkup 1721s ok 42 /markup/parse/fail-26.gmarkup 1721s ok 43 /markup/parse/fail-35.gmarkup 1721s ok 44 /markup/parse/fail-49.gmarkup 1721s ok 45 /markup/parse/valid-16.gmarkup 1721s ok 46 /markup/parse/fail-2.gmarkup 1721s ok 47 /markup/parse/fail-29.gmarkup 1721s ok 48 /markup/parse/fail-40.gmarkup 1721s ok 49 /markup/parse/fail-11.gmarkup 1721s ok 50 /markup/parse/fail-24.gmarkup 1721s ok 51 /markup/parse/fail-41.gmarkup 1721s ok 52 /markup/parse/valid-17.gmarkup 1721s ok 53 /markup/parse/fail-27.gmarkup 1721s ok 54 /markup/parse/fail-25.gmarkup 1721s ok 55 /markup/parse/fail-37.gmarkup 1721s ok 56 /markup/parse/valid-9.gmarkup 1721s ok 57 /markup/parse/fail-53.gmarkup 1721s ok 58 /markup/parse/fail-43.gmarkup 1721s ok 59 /markup/parse/fail-10.gmarkup 1721s ok 60 /markup/parse/fail-31.gmarkup 1721s ok 61 /markup/parse/fail-1.gmarkup 1721s ok 62 /markup/parse/fail-45.gmarkup 1721s ok 63 /markup/parse/fail-48.gmarkup 1721s ok 64 /markup/parse/valid-3.gmarkup 1721s ok 65 /markup/parse/valid-2.gmarkup 1721s ok 66 /markup/parse/fail-22.gmarkup 1721s ok 67 /markup/parse/valid-8.gmarkup 1721s ok 68 /markup/parse/valid-15.gmarkup 1721s ok 69 /markup/parse/fail-4.gmarkup 1721s ok 70 /markup/parse/fail-36.gmarkup 1721s ok 71 /markup/parse/fail-21.gmarkup 1721s # End of parse tests 1721s # End of markup tests 1721s TAP version 14 1721s # random seed: R02Se23b350942cc567a3bab9142bd5aeef7 1721s 1..24 1721s # Start of snprintf tests 1721s ok 1 /snprintf/retval-and-trunc 1721s ok 2 /snprintf/%d 1721s ok 3 /snprintf/%d-invalid 1721s ok 4 /snprintf/%o 1721s ok 5 /snprintf/%u 1721s ok 6 /snprintf/%x 1721s ok 7 /snprintf/%X 1721s ok 8 /snprintf/%f 1721s ok 9 /snprintf/%e 1721s ok 10 /snprintf/%c 1721s ok 11 /snprintf/%s 1721s ok 12 /snprintf/%n 1721s ok 13 /snprintf/test-percent 1721s ok 14 /snprintf/test-positional-params 1721s ok 15 /snprintf/test-64bit 1721s ok 16 /snprintf/produce-embedded-nulls 1721s # End of snprintf tests 1721s # Start of printf tests 1721s ok 17 /printf/test-percent 1721s ok 18 /printf/test-positional-params 1721s ok 19 /printf/test-64bit 1721s # Start of test-64bit tests 1721s # Start of subprocess tests 1721s # End of subprocess tests 1721s # End of test-64bit tests 1721s # End of printf tests 1721s # Start of fprintf tests 1721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1721s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1721s ok 20 /fprintf/produce-embedded-nulls 1721s # End of fprintf tests 1721s # Start of sprintf tests 1721s ok 21 /sprintf/test-positional-params 1721s ok 22 /sprintf/upper-bound 1721s # End of sprintf tests 1721s # Start of vasprintf tests 1721s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1721s ok 23 /vasprintf/invalid-format-placeholder 1721s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1721s ok 24 /vasprintf/invalid-wide-string 1721s # End of vasprintf tests 1721s ok - glib/test-printf.test 1721s # Running test: glib/properties-refcount2.test 1721s TAP version 14 1721s # random seed: R02Sd896d2d9de37861781c9dd62c0314540 1721s 1..1 1721s # Start of gobject tests 1721s # Start of refcount tests 1721s # init 0xab5c86930eb0 1721s # 1721s # . 1721s # . 1721s # . 1721s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # dispose 0xab5c86930eb0! 1722s # 1722s ok 1 /gobject/refcount/properties-2 1722s # slow test /gobject/refcount/properties-2 executed in 0.88 secs 1722s # End of refcount tests 1722s # End of gobject tests 1722s ok - glib/properties-refcount2.test 1722s # Running test: glib/thumbnail-verification.test 1722s TAP version 14 1722s # random seed: R02Sc4b57841587d8acbeac462f6b3a9054a 1722s 1..1 1722s # Start of png-thumbs tests 1722s ok 1 /png-thumbs/validity 1722s # End of png-thumbs tests 1722s ok - glib/thumbnail-verification.test 1722s # Running test: glib/objects-refcount2.test 1722s TAP version 14 1722s # random seed: R02S5838c0c328f9424106806e27c4de4456 1722s 1..1 1722s # Start of gobject tests 1722s # Start of refcount tests 1722s # init 0xc5f3e45e4d80 1722s # 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1722s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # Executing: glib/objects-refcount2.test 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1723s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1724s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1725s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1726s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1727s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # Executing: glib/objects-refcount2.test 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1728s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # . 1729s # dispose 0xc5f3e45e4d80! 1729s # 1729s ok 1 /gobject/refcount/object-advanced 1729s # slow test /gobject/refcount/object-advanced executed in 6.84 secs 1729s # End of refcount tests 1729s # End of gobject tests 1729s ok - glib/objects-refcount2.test 1729s # Running test: glib/gnotification.test 1729s TAP version 14 1729s # random seed: R02Sb81d4064d38a0c786dbc3b0dd90c2265 1729s 1..2 1729s # Start of gnotification tests 1729s ok - glib/gnotification.test 1729s # Running test: glib/gdbus-proxy.test 1729s ok 1 /gnotification/basic 1729s ok 2 /gnotification/properties 1729s # End of gnotification tests 1729s TAP version 14 1729s # random seed: R02S5ce3962f5da953049ff4b713bd712877 1729s 1..5 1729s # Start of gdbus tests 1729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/home 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/cache 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/system-config2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/config 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/system-data2 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/data 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/state 1729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/.dirs/runtime 1731s ok 1 /gdbus/proxy 1731s # slow test /gdbus/proxy executed in 1.72 secs 1731s # Start of proxy tests 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-properties/.dirs/runtime 1731s ok 2 /gdbus/proxy/no-properties 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1731s ok 3 /gdbus/proxy/wellknown-noauto 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/async/.dirs/runtime 1733s ok 4 /gdbus/proxy/async 1733s # slow test /gdbus/proxy/async executed in 1.72 secs 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9KRUJ3/gdbus/proxy/no-match-rule/.dirs/runtime 1733s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1733s # Executing: glib/gdbus-proxy.test 1734s ok 5 /gdbus/proxy/no-match-rule 1734s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1734s # End of proxy tests 1734s # End of gdbus tests 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1734s ok - glib/gdbus-proxy.test 1734s # Running test: glib/network-monitor.test 1734s TAP version 14 1734s # random seed: R02Sfc0f3dac7e0378958c0d805d3e502e68 1734s 1..4 1734s # Start of network-monitor tests 1734s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1734s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1734s ok 1 /network-monitor/default 1734s ok 2 /network-monitor/remove_default 1734s ok 3 /network-monitor/add_networks 1734s ok 4 /network-monitor/remove_networks 1734s # End of network-monitor tests 1734s ok - glib/network-monitor.test 1734s # Running test: glib/uri.test 1734s ok - glib/uri.test 1734s # Running test: glib/portal-support-flatpak-gsettings-only.test 1734s ok - glib/portal-support-flatpak-gsettings-only.test 1734s TAP version 14 1734s # random seed: R02S97b3bbb19473dc97f40561c0b083e010 1734s 1..24 1734s # Start of uri tests 1734s ok 1 /uri/file-to-uri 1734s ok 2 /uri/file-from-uri 1734s ok 3 /uri/file-roundtrip 1734s ok 4 /uri/list 1734s # Test 0: %2Babc %4F 1734s # Test 1: %2Babc %4F 1734s # Test 2: %00abc %4F 1734s # Test 3: /cursors/none.png 1734s # Test 4: /cursors%2fbad-subdir/none.png 1734s # Test 5: %0 1734s # Test 6: %ra 1734s # Test 7: %2r 1734s # Test 8: Timm Bäder 1734s # Test 9: (null) 1734s ok 5 /uri/unescape-string 1734s ok 6 /uri/unescape-segment 1734s # Test 0: abcdefgABCDEFG._~ 1734s # Test 1: :+ \\?# 1734s # Test 2: a+b:c 1734s # Test 3: a+b:c\303\234 1734s # Test 4: \374;\322 1734s # Test 5: \303\261\303( 1734s ok 7 /uri/escape-string 1734s ok 8 /uri/escape-bytes 1734s ok 9 /uri/scheme 1734s ok 10 /uri/build 1734s ok 11 /uri/split 1734s ok 12 /uri/is_valid 1734s ok 13 /uri/to-string 1734s ok 14 /uri/join 1734s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1734s # Combination 0 1734s # Combination 1 1734s # Combination 2 1734s # Combination 3 1734s # Combination 4 1734s # Combination 5 1734s # Combination 6 1734s # Combination 7 1734s # Combination 8 1734s # Combination 9 1734s # Combination 10 1734s # Combination 11 1734s # Combination 12 1734s # Combination 13 1734s # Combination 14 1734s # Combination 15 1734s # Combination 16 1734s # Combination 17 1734s # Combination 18 1734s # Combination 19 1734s # Combination 20 1734s # Combination 21 1734s # Combination 22 1734s # Combination 23 1734s # Combination 24 1734s # Combination 25 1734s # Combination 26 1734s # Combination 27 1734s # Combination 28 1734s # Combination 29 1734s # Combination 30 1734s # Combination 31 1734s # Combination 32 1734s # Combination 33 1734s # Combination 34 1734s # Combination 35 1734s # Combination 36 1734s # Combination 37 1734s # Combination 38 1734s # Combination 39 1734s # Combination 40 1734s # Combination 41 1734s # Combination 42 1734s # Combination 43 1734s # Combination 44 1734s # Combination 45 1734s # Combination 46 1734s # Combination 47 1734s # Combination 48 1734s # Combination 49 1734s # Combination 50 1734s # Combination 51 1734s # Combination 52 1734s # Combination 53 1734s # Combination 54 1734s # Combination 55 1734s # Combination 56 1734s # Combination 57 1734s # Combination 58 1734s # Combination 59 1734s # Combination 60 1734s # Combination 61 1734s # Combination 62 1734s # Combination 63 1734s # Combination 64 1734s # Combination 65 1734s # Combination 66 1734s # Combination 67 1734s # Combination 68 1734s # Combination 69 1734s # Combination 70 1734s # Combination 71 1734s # Combination 72 1734s # Combination 73 1734s # Combination 74 1734s # Combination 75 1734s # Combination 76 1734s # Combination 77 1734s # Combination 78 1734s # Combination 79 1734s # Combination 80 1734s # Combination 81 1734s # Combination 82 1734s # Combination 83 1734s # Combination 84 1734s # Combination 85 1734s # Combination 86 1734s # Combination 87 1734s # Combination 88 1734s # Combination 89 1734s # Combination 90 1734s # Combination 91 1734s # Combination 92 1734s # Combination 93 1734s # Combination 94 1734s # Combination 95 1734s # Combination 96 1734s # Combination 97 1734s # Combination 98 1734s # Combination 99 1734s # Combination 100 1734s # Combination 101 1734s # Combination 102 1734s # Combination 103 1734s # Combination 104 1734s # Combination 105 1734s # Combination 106 1734s # Combination 107 1734s # Combination 108 1734s # Combination 109 1734s # Combination 110 1734s # Combination 111 1734s # Combination 112 1734s # Combination 113 1734s # Combination 114 1734s # Combination 115 1734s # Combination 116 1734s # Combination 117 1734s # Combination 118 1734s # Combination 119 1734s # Combination 120 1734s # Combination 121 1734s # Combination 122 1734s # Combination 123 1734s # Combination 124 1734s # Combination 125 1734s # Combination 126 1734s # Combination 127 1734s # Combination 128 1734s # Combination 129 1734s # Combination 130 1734s # Combination 131 1734s # Combination 132 1734s # Combination 133 1734s # Combination 134 1734s # Combination 135 1734s # Combination 136 1734s # Combination 137 1734s # Combination 138 1734s # Combination 139 1734s # Combination 140 1734s # Combination 141 1734s # Combination 142 1734s # Combination 143 1734s # Combination 144 1734s # Combination 145 1734s # Combination 146 1734s # Combination 147 1734s # Combination 148 1734s # Combination 149 1734s # Combination 150 1734s # Combination 151 1734s # Combination 152 1734s # Combination 153 1734s # Combination 154 1734s # Combination 155 1734s # Combination 156 1734s # Combination 157 1734s # Combination 158 1734s # Combination 159 1734s # Combination 160 1734s # Combination 161 1734s # Combination 162 1734s # Combination 163 1734s # Combination 164 1734s # Combination 165 1734s # Combination 166 1734s # Combination 167 1734s # Combination 168 1734s # Combination 169 1734s # Combination 170 1734s # Combination 171 1734s # Combination 172 1734s # Combination 173 1734s # Combination 174 1734s # Combination 175 1734s # Combination 176 1734s # Combination 177 1734s # Combination 178 1734s # Combination 179 1734s # Combination 180 1734s # Combination 181 1734s # Combination 182 1734s # Combination 183 1734s # Combination 184 1734s # Combination 185 1734s # Combination 186 1734s # Combination 187 1734s # Combination 188 1734s # Combination 189 1734s # Combination 190 1734s # Combination 191 1734s # Combination 192 1734s # Combination 193 1734s # Combination 194 1734s # Combination 195 1734s # Combination 196 1734s # Combination 197 1734s # Combination 198 1734s # Combination 199 1734s # Combination 200 1734s # Combination 201 1734s # Combination 202 1734s # Combination 203 1734s # Combination 204 1734s # Combination 205 1734s # Combination 206 1734s # Combination 207 1734s # Combination 208 1734s # Combination 209 1734s # Combination 210 1734s # Combination 211 1734s # Combination 212 1734s # Combination 213 1734s # Combination 214 1734s # Combination 215 1734s # Combination 216 1734s # Combination 217 1734s # Combination 218 1734s # Combination 219 1734s # Combination 220 1734s # Combination 221 1734s # Combination 222 1734s # Combination 223 1734s # Combination 224 1734s # Combination 225 1734s # Combination 226 1734s # Combination 227 1734s # Combination 228 1734s # Combination 229 1734s # Combination 230 1734s # Combination 231 1734s # Combination 232 1734s # Combination 233 1734s # Combination 234 1734s # Combination 235 1734s # Combination 236 1734s # Combination 237 1734s # Combination 238 1734s # Combination 239 1734s # Combination 240 1734s # Combination 241 1734s # Combination 242 1734s # Combination 243 1734s # Combination 244 1734s # Combination 245 1734s # Combination 246 1734s # Combination 247 1734s # Combination 248 1734s # Combination 249 1734s # Combination 250 1734s # Combination 251 1734s # Combination 252 1734s # Combination 253 1734s # Combination 254 1734s # Combination 255 1734s ok 15 /uri/join-split-round-trip 1734s ok 16 /uri/normalize 1734s # Start of unescape-bytes tests 1734s # Test 0: %00%00 1734s # Test 1: /cursors/none.png 1734s # Test 2: /cursors%2fbad-subdir/none.png 1734s # Test 3: %% 1734s # Test 4: % 1734s ok 17 /uri/unescape-bytes/nul-terminated 1734s # Test 0: %00%00 1734s # Test 1: /cursors/none.png 1734s # Test 2: /cursors%2fbad-subdir/none.png 1734s # Test 3: %% 1734s # Test 4: % 1734s ok 18 /uri/unescape-bytes/length 1734s # End of unescape-bytes tests 1734s # Start of parsing tests 1734s # Test 0: foo: 1734s # Test 1: file:/dev/null 1734s # Test 2: file:///dev/null 1734s # Test 3: ftp://user@host/path 1734s # Test 4: ftp://user@host:9999/path 1734s # Test 5: ftp://user:password@host/path 1734s # Test 6: ftp://user:password@host:9999/path 1734s # Test 7: ftp://user:password@host 1734s # Test 8: http://us%65r@host 1734s # Test 9: http://us%40r@host 1734s # Test 10: http://us%3ar@host 1734s # Test 11: http://us%2fr@host 1734s # Test 12: http://us%3fr@host 1734s # Test 13: http://host?query 1734s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1734s # 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 1734s # Test 16: http://space/%20 1734s # Test 17: http://delims/%3C%3E%23%25%22 1734s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1734s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1734s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1734s # Test 21: http://[3ffe:2a00:100:7031::1] 1734s # Test 22: http://[1080::8:800:200C:417A]/foo 1734s # Test 23: http://[::192.9.5.5]/ipng 1734s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1734s # Test 25: http://[2010:836B:4179::836B:4179] 1734s # Test 26: http://host/path with spaces 1734s # Test 27: http://host/path 1734s # Test 28: http://host/path 1734s # Test 29: http://host 1734s # Test 30: http://host:999 1734s # Test 31: http://host/pa 1734s # th 1734s # Test 32: http: 1734s # //host/path 1734s # Test 33: http:// host/path 1734s # Test 34: http://host/path? 1734s # Test 35: http://host/path# 1734s # Test 36: http://host/path% 1734s # Test 37: http://h%ost/path 1734s # Test 38: http://host/path%% 1734s # Test 39: http://host/path%%% 1734s # Test 40: http://host/path%/x/ 1734s # Test 41: http://host/path%0x/ 1734s # Test 42: http://host/path%ax 1734s # Test 43: http://host/päth/ 1734s # Test 44: HTTP://////////////// 1734s # Test 45: http://@host 1734s # Test 46: http://:@host 1734s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1734s # Test 48: http://example.com/.. 1734s # Test 49: foo0://host/path 1734s # Test 50: f0.o://host/path 1734s # Test 51: http++://host/path 1734s # Test 52: http-ish://host/path 1734s # Test 53: http://[fe80::dead:beef%]/ 1734s # Test 54: http://[fe80::dead:beef%em1]/ 1734s # Test 55: http://[fe80::dead:beef%em1]/ 1734s # Test 56: http://[fe80::dead:beef%25em1]/ 1734s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1734s # Test 58: http://[fe80::dead:beef%25em%31]/ 1734s # Test 59: http://[fe80::dead:beef%10]/ 1734s # Test 60: http://[fe80::dead:beef%10]/ 1734s # Test 61: http://[fe80::dead:beef%25]/ 1734s # Test 62: http://[fe80::dead:beef%25]/ 1734s # Test 63: http://[192.168.0.1%25em1]/ 1734s # Test 64: http://[fe80::dead:beef%2em1]/ 1734s # Test 65: http://[fe80::dead:beef%2em1]/ 1734s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1734s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1734s # Test 68: http://xn--mixed-üp/ 1734s # Test 69: data:./// 1734s # Test 70: data:/.// 1734s ok 19 /uri/parsing/absolute 1734s ok 20 /uri/parsing/relative 1734s # End of parsing tests 1734s # Start of iter-params tests 1734s # URI 0: p1=foo&p2=bar;p3=baz 1734s # URI 1: p1=foo&p2=bar 1734s # URI 2: p1=foo&&P1=bar 1734s # URI 3: %00=foo 1734s # URI 4: p1=%00 1734s # URI 5: p1=foo&p1=bar 1734s # URI 6: p1=foo&P1=bar 1734s # URI 7: =% 1734s # URI 8: = 1734s # URI 9: foo 1734s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1734s ok 21 /uri/iter-params/nul-terminated 1734s # URI 0: p1=foo&p2=bar;p3=baz 1734s # URI 1: p1=foo&p2=bar 1734s # URI 2: p1=foo&&P1=bar 1734s # URI 3: %00=foo 1734s # URI 4: p1=%00 1734s # URI 5: p1=foo&p1=bar 1734s # URI 6: p1=foo&P1=bar 1734s # URI 7: =% 1734s # URI 8: = 1734s # URI 9: foo 1734s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1734s ok 22 /uri/iter-params/length 1734s # End of iter-params tests 1734s # Start of parse-params tests 1734s # URI 0: p1=foo&p2=bar;p3=baz 1734s # URI 1: p1=foo&p2=bar 1734s # URI 2: p1=foo&&P1=bar 1734s # URI 3: %00=foo 1734s # URI 4: p1=%00 1734s # URI 5: p1=foo&p1=bar 1734s # URI 6: p1=foo&P1=bar 1734s # URI 7: =% 1734s # URI 8: = 1734s # URI 9: foo 1734s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1734s ok 23 /uri/parse-params/nul-terminated 1734s # URI 0: p1=foo&p2=bar;p3=baz 1734s # URI 1: p1=foo&p2=bar 1734s # URI 2: p1=foo&&P1=bar 1734s # URI 3: %00=foo 1734s # URI 4: p1=%00 1734s # URI 5: p1=foo&p1=bar 1734s # URI 6: p1=foo&P1=bar 1734s # URI 7: =% 1734s # URI 8: = 1734s # URI 9: foo 1734s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1734s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1734s ok 24 /uri/parse-params/length 1734s # End of parse-params tests 1734s # End of uri tests 1734s TAP version 14 1734s # random seed: R02S65b5a31db681e5ae93f7fe0cbe77d894 1734s 1..1 1734s # Start of portal-support tests 1734s # Start of flatpak tests 1734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/home 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/cache 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/system-config2 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/config 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/system-data2 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/data 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/state 1734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/runtime 1734s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_LTO1J3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1734s ok 1 /portal-support/flatpak/gsettings 1734s # End of flatpak tests 1734s # End of portal-support tests 1734s # Running test: glib/cxx-98.test 1734s TAP version 14 1734s # random seed: R02S1abacc171d9fade4e7fafdebb6c9eb6f 1734s 1..2 1734s # Start of gtask tests 1734s # 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. 1734s ok 1 /gtask/name 1734s # Start of name tests 1734s # 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. 1734s ok 2 /gtask/name/macro-wrapper 1734s # End of name tests 1734s # End of gtask tests 1734s ok - glib/cxx-98.test 1734s # Running test: glib/private.test 1734s TAP version 14 1734s # random seed: R02S64a90c73aa576591576bf21665c342af 1734s 1..8 1734s # Start of thread tests 1734s ok 1 /thread/private1 1736s ok 2 /thread/private2 1736s # slow test /thread/private2 executed in 1.09 secs 1736s ok 3 /thread/private3 1736s ok 4 /thread/staticprivate1 1736s ok 5 /thread/staticprivate2 1736s ok 6 /thread/staticprivate3 1737s ok 7 /thread/staticprivate4 1737s # slow test /thread/staticprivate4 executed in 1.09 secs 1737s ok 8 /thread/staticprivate5 1737s # End of thread tests 1737s ok - glib/private.test 1737s # Running test: glib/gdbus-test-codegen.test 1737s TAP version 14 1737s # random seed: R02S728ab4da4bfd38684137a84f7e173629 1737s 1..8 1737s # Start of gdbus tests 1737s # Start of codegen tests 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/annotations/.dirs/runtime 1737s ok 1 /gdbus/codegen/annotations 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/interface_stability/.dirs/runtime 1737s ok 2 /gdbus/codegen/interface_stability 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/object-manager/.dirs/runtime 1737s ok 3 /gdbus/codegen/object-manager 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/property-naming/.dirs/runtime 1737s ok 4 /gdbus/codegen/property-naming 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/autocleanups/.dirs/runtime 1737s ok 5 /gdbus/codegen/autocleanups 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/deprecations/.dirs/runtime 1737s ok 6 /gdbus/codegen/deprecations 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1737s ok 7 /gdbus/codegen/standalone-interface-info 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6W5LJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 1737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1737s ok 8 /gdbus/codegen/unix-fd-list 1737s # End of codegen tests 1737s # End of gdbus tests 1737s ok - glib/gdbus-test-codegen.test 1737s # Running test: glib/testing-nonfatal.test 1737s ok - glib/testing-nonfatal.test 1737s # Running test: glib/defaultvalue.test 1737s ok - glib/defaultvalue.test 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s TAP version 14 1737s # random seed: R02S2164943574ce895323353a89db96c0a1 1737s ** 1737s 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?") 1737s # 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?") 1737s TAP version 14 1737s # random seed: R02Sebe2630f7f675f4a76bfa75614d4c108 1737s 1..84 1737s # Start of Default Values tests 1737s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1737s ok 2 /Default Values/GAppLaunchContext 1737s ok 3 /Default Values/GApplicationCommandLine 1737s # skipping GApplication:is-remote 1737s ok 4 /Default Values/GApplication 1737s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1737s ok 6 /Default Values/GBindingGroup 1737s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1737s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1737s ok 9 /Default Values/GBytesIcon 1737s ok 10 /Default Values/GCancellable 1737s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1737s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1737s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1737s ok 14 /Default Values/GCredentials 1737s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1737s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1737s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1737s ok 18 /Default Values/GDBusAuthObserver 1737s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1737s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1737s ok 21 /Default Values/GDBusMessage 1737s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1737s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1737s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1737s ok 25 /Default Values/GDBusObjectProxy 1737s ok 26 /Default Values/GDBusObjectSkeleton 1737s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1737s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1737s ok 29 /Default Values/GEmblem 1737s ok 30 /Default Values/GEmblemedIcon 1737s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1737s ok 32 /Default Values/GFileInfo 1737s ok 33 /Default Values/GFileInputStream 1737s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1737s ok 35 /Default Values/GFileOutputStream 1737s ok 36 /Default Values/GFilenameCompleter 1737s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1737s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1737s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1737s ok 40 /Default Values/GInitiallyUnowned 1737s ok 41 /Default Values/GIOModule 1737s ok 42 /Default Values/GListStore 1737s ok 43 /Default Values/GMemoryInputStream 1737s ok 44 /Default Values/GMemoryOutputStream 1737s ok 45 /Default Values/GMenu 1737s ok 46 /Default Values/GMenuItem 1737s ok 47 /Default Values/GMountOperation 1737s ok 48 /Default Values/GNativeSocketAddress 1737s ok 49 /Default Values/GNetworkAddress 1737s ok 50 /Default Values/GNetworkService 1737s ok 51 /Default Values/GNotification 1737s ok 52 /Default Values/GObject 1737s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1737s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1737s # skipping GProxyAddressEnumerator:proxy-resolver 1737s ok 54 /Default Values/GProxyAddressEnumerator 1737s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1737s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1737s ok 57 /Default Values/GSignalGroup 1737s ok 58 /Default Values/GSimpleAction 1737s ok 59 /Default Values/GSimpleActionGroup 1737s ok 60 /Default Values/GSimpleAsyncResult 1737s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1737s ok 62 /Default Values/GSimplePermission 1737s ok 63 /Default Values/GSimpleProxyResolver 1737s # skipping GSocketClient:proxy-resolver 1737s ok 64 /Default Values/GSocketClient 1737s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1737s ok 66 /Default Values/GSocket # SKIP initialization failed 1737s ok 67 /Default Values/GSocketListener 1737s ok 68 /Default Values/GSocketService 1737s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1737s ok 70 /Default Values/GSubprocessLauncher 1737s # GLib-GIO-DEBUG: GTask 0xb1302fb09250 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1737s ok 71 /Default Values/GTask 1737s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1737s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1737s ok 74 /Default Values/GTestDBus 1737s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1737s ok 76 /Default Values/GThreadedSocketService 1737s ok 77 /Default Values/GTlsInteraction 1737s ok 78 /Default Values/GTlsPassword 1737s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1737s ok 80 /Default Values/GUnixFDList 1737s ok 81 /Default Values/GVfs 1737s ok 82 /Default Values/GVolumeMonitor 1737s ok 83 /Default Values/GZlibCompressor 1737s ok 84 /Default Values/GZlibDecompressor 1737s # End of Default Values tests 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1737s # Running test: glib/portal-support-env-var.test 1737s TAP version 14 1737s ok - glib/portal-support-env-var.test 1737s # Running test: glib/strvbuilder.test 1737s ok - glib/strvbuilder.test 1737s # random seed: R02S2534a4cf1af78ec58d8f34518c58f511 1737s 1..1 1737s # Start of portal-support tests 1737s ok 1 /portal-support/env-var 1737s # End of portal-support tests 1737s TAP version 14 1737s # random seed: R02S3fcae5be7d6e9b653d6a136a34a91c08 1737s 1..7 1737s # Start of strvbuilder tests 1737s ok 1 /strvbuilder/empty 1737s ok 2 /strvbuilder/add 1737s ok 3 /strvbuilder/addv 1737s ok 4 /strvbuilder/add_many 1737s ok 5 /strvbuilder/take 1737s ok 6 /strvbuilder/ref 1737s ok 7 /strvbuilder/unref_to_strv 1737s # End of strvbuilder tests 1737s # Running test: glib/gdbus-export.test 1737s TAP version 14 1737s # random seed: R02S61124d6ec32d2e9bc4746bb0790e3371 1737s 1..7 1737s # Start of gdbus tests 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration/.dirs/runtime 1737s ok 1 /gdbus/object-registration 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures/.dirs/runtime 1737s ok 2 /gdbus/object-registration-with-closures 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/object-registration-with-closures2/.dirs/runtime 1737s ok 3 /gdbus/object-registration-with-closures2 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/registered-interfaces/.dirs/runtime 1737s ok 4 /gdbus/registered-interfaces 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/async-properties/.dirs/runtime 1737s ok 5 /gdbus/async-properties 1737s # Start of threaded-unregistration tests 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/object/.dirs/runtime 1737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1737s # /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 1738s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1738s # slow test /gdbus/threaded-unregistration/object executed in 1.04 secs 1738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/home 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/cache 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/config 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/data 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/state 1738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_TUKKJ3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1738s # /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 1738s # Executing: glib/gdbus-export.test 1739s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1739s # slow test /gdbus/threaded-unregistration/subtree executed in 1.03 secs 1739s # End of threaded-unregistration tests 1739s # End of gdbus tests 1739s ok - glib/gdbus-export.test 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # Running test: glib/io-channel-basic.test 1739s TAP version 14 1739s # random seed: R02Sc67f24d8362c17bacdd46f38c6780975 1739s 1..1 1739s # Start of gio tests 1739s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1739s # random seed: R02S4215bf7c3dccb51a4f4c4599b339d832 1739s # GLib-DEBUG: io-channel-basic: child writing 8+625 bytes to 6 1739s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 5: 625 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1739s # GLib-DEBUG: io-channel-basic: child writing 8+1959 bytes to 6 1739s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1739s # GLib-DEBUG: io-channel-basic: ...from 5: 1959 bytes 1739s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+3662 bytes to 6 1740s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 5: 3662 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4533 bytes to 6 1740s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 5: 4533 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+4050 bytes to 6 1740s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 5: 4050 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1740s # GLib-DEBUG: io-channel-basic: child writing 8+1397 bytes to 6 1740s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1740s # GLib-DEBUG: io-channel-basic: ...from 5: 1397 bytes 1740s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+4816 bytes to 6 1741s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 5: 4816 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+983 bytes to 6 1741s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 5: 983 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+1414 bytes to 6 1741s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 5: 1414 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1741s # GLib-DEBUG: io-channel-basic: child writing 8+4521 bytes to 6 1741s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1741s # GLib-DEBUG: io-channel-basic: ...from 5: 4521 bytes 1741s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+341 bytes to 6 1742s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 5: 341 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+591 bytes to 6 1742s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 5: 591 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+148 bytes to 6 1742s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 5: 148 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1742s # GLib-DEBUG: io-channel-basic: child writing 8+3867 bytes to 6 1742s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1742s # GLib-DEBUG: io-channel-basic: ...from 5: 3867 bytes 1742s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1743s # GLib-DEBUG: io-channel-basic: child writing 8+3827 bytes to 6 1743s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1743s # GLib-DEBUG: io-channel-basic: ...from 5: 3827 bytes 1743s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1743s # GLib-DEBUG: io-channel-basic: child writing 8+3172 bytes to 6 1743s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1743s # GLib-DEBUG: io-channel-basic: ...from 5: 3172 bytes 1743s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1743s # Executing: glib/io-channel-basic.test 1743s # GLib-DEBUG: io-channel-basic: child writing 8+3310 bytes to 6 1743s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1743s # GLib-DEBUG: io-channel-basic: ...from 5: 3310 bytes 1743s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1743s # GLib-DEBUG: io-channel-basic: child writing 8+2351 bytes to 6 1743s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1743s # GLib-DEBUG: io-channel-basic: ...from 5: 2351 bytes 1743s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1744s # GLib-DEBUG: io-channel-basic: child writing 8+1470 bytes to 6 1744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1744s # GLib-DEBUG: io-channel-basic: ...from 5: 1470 bytes 1744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1744s # GLib-DEBUG: io-channel-basic: child writing 8+3604 bytes to 6 1744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1744s # GLib-DEBUG: io-channel-basic: ...from 5: 3604 bytes 1744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1744s # GLib-DEBUG: io-channel-basic: child writing 8+2573 bytes to 6 1744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1744s # GLib-DEBUG: io-channel-basic: ...from 5: 2573 bytes 1744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1745s # GLib-DEBUG: io-channel-basic: child writing 8+3225 bytes to 6 1745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1745s # GLib-DEBUG: io-channel-basic: ...from 5: 3225 bytes 1745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1745s # GLib-DEBUG: io-channel-basic: child writing 8+2507 bytes to 6 1745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1745s # GLib-DEBUG: io-channel-basic: ...from 5: 2507 bytes 1745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1745s # GLib-DEBUG: io-channel-basic: child writing 8+3534 bytes to 6 1745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1745s # GLib-DEBUG: io-channel-basic: ...from 5: 3534 bytes 1745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1745s # GLib-DEBUG: io-channel-basic: child writing 8+554 bytes to 6 1745s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1745s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1745s # GLib-DEBUG: io-channel-basic: ...from 5: 554 bytes 1745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1745s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1745s # random seed: R02S9dc881460511cd83e94d8647211491ee 1745s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1745s # random seed: R02S3e6a17b3289198c6c4396cb11b7859b0 1745s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1745s # random seed: R02Sdbb30eda789ef1d9962547bd99f1ce7a 1745s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1745s # random seed: R02S5de70551a88b0470f260439225fa4aac 1745s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1745s # random seed: R02S697c671f3169a05888347fd47eead6a7 1746s # GLib-DEBUG: io-channel-basic: child writing 8+1534 bytes to 15 1746s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 14: 1534 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+3789 bytes to 9 1746s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 8: 3789 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+1645 bytes to 13 1746s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 12: 1645 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+487 bytes to 11 1746s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 10: 487 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4097 bytes to 17 1746s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 16: 4097 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+1056 bytes to 13 1746s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 12: 1056 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+227 bytes to 15 1746s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 14: 227 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+3808 bytes to 9 1746s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 8: 3808 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+1457 bytes to 11 1746s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 10: 1457 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4936 bytes to 17 1746s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 16: 4936 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4023 bytes to 15 1746s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 14: 4023 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 13 1746s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 12: 4685 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4195 bytes to 17 1746s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 16: 4195 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+4067 bytes to 11 1746s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 10: 4067 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+2250 bytes to 9 1746s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 8: 2250 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+767 bytes to 15 1746s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 14: 767 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+2257 bytes to 13 1746s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 12: 2257 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+1761 bytes to 9 1746s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 8: 1761 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+747 bytes to 17 1746s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 16: 747 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1746s # GLib-DEBUG: io-channel-basic: child writing 8+3016 bytes to 11 1746s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1746s # GLib-DEBUG: io-channel-basic: ...from 10: 3016 bytes 1746s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 15 1747s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 14: 2267 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+3291 bytes to 13 1747s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 12: 3291 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+575 bytes to 9 1747s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 8: 575 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+2499 bytes to 17 1747s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 16: 2499 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4884 bytes to 11 1747s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 10: 4884 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+216 bytes to 13 1747s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 12: 216 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4360 bytes to 15 1747s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 14: 4360 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4495 bytes to 17 1747s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 16: 4495 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4707 bytes to 9 1747s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 8: 4707 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+3188 bytes to 11 1747s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 10: 3188 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+17 bytes to 13 1747s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 12: 17 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 15 1747s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 14: 4665 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+2942 bytes to 17 1747s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 16: 2942 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4757 bytes to 11 1747s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 10: 4757 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+4101 bytes to 9 1747s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 8: 4101 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+1911 bytes to 13 1747s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 12: 1911 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+974 bytes to 15 1747s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 14: 974 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+2905 bytes to 17 1747s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 16: 2905 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+2976 bytes to 9 1747s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 8: 2976 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1747s # GLib-DEBUG: io-channel-basic: child writing 8+1132 bytes to 11 1747s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1747s # GLib-DEBUG: io-channel-basic: ...from 10: 1132 bytes 1747s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+1770 bytes to 13 1748s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 12: 1770 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+3247 bytes to 15 1748s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 14: 3247 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+196 bytes to 17 1748s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 16: 196 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+3023 bytes to 9 1748s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 8: 3023 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+4133 bytes to 11 1748s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 10: 4133 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+4865 bytes to 13 1748s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 12: 4865 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+1364 bytes to 15 1748s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 14: 1364 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+1932 bytes to 17 1748s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 16: 1932 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+2915 bytes to 9 1748s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 8: 2915 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+4616 bytes to 11 1748s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 10: 4616 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1748s # Executing: glib/io-channel-basic.test 1748s # GLib-DEBUG: io-channel-basic: child writing 8+787 bytes to 13 1748s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 12: 787 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+1516 bytes to 15 1748s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 14: 1516 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+3292 bytes to 17 1748s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 16: 3292 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+2338 bytes to 9 1748s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 8: 2338 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+2992 bytes to 11 1748s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 10: 2992 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+430 bytes to 13 1748s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 12: 430 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+4904 bytes to 15 1748s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 14: 4904 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+2011 bytes to 17 1748s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 16: 2011 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1748s # GLib-DEBUG: io-channel-basic: child writing 8+1668 bytes to 9 1748s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1748s # GLib-DEBUG: io-channel-basic: ...from 8: 1668 bytes 1748s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+3751 bytes to 11 1749s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 10: 3751 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+4868 bytes to 13 1749s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 12: 4868 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+3437 bytes to 15 1749s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 14: 3437 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+511 bytes to 17 1749s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 16: 511 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+3056 bytes to 9 1749s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 8: 3056 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+458 bytes to 11 1749s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 10: 458 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+2014 bytes to 13 1749s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 12: 2014 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+4442 bytes to 15 1749s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 14: 4442 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+147 bytes to 17 1749s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 16: 147 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+4648 bytes to 9 1749s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 8: 4648 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+1147 bytes to 11 1749s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 10: 1147 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+4548 bytes to 13 1749s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 12: 4548 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+1846 bytes to 15 1749s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 14: 1846 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 9 1749s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 8: 1687 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+476 bytes to 17 1749s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 16: 476 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+2457 bytes to 11 1749s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 10: 2457 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1749s # GLib-DEBUG: io-channel-basic: child writing 8+4352 bytes to 13 1749s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1749s # GLib-DEBUG: io-channel-basic: ...from 12: 4352 bytes 1749s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1750s # GLib-DEBUG: io-channel-basic: child writing 8+1987 bytes to 9 1750s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1750s # GLib-DEBUG: io-channel-basic: ...from 8: 1987 bytes 1750s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1750s # GLib-DEBUG: io-channel-basic: child writing 8+1284 bytes to 15 1750s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1750s # GLib-DEBUG: io-channel-basic: ...from 14: 1284 bytes 1750s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1750s # GLib-DEBUG: io-channel-basic: child writing 8+803 bytes to 17 1750s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1750s # GLib-DEBUG: io-channel-basic: ...from 16: 803 bytes 1750s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1750s # GLib-DEBUG: io-channel-basic: child writing 8+1981 bytes to 11 1750s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1750s # GLib-DEBUG: io-channel-basic: ...from 10: 1981 bytes 1750s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4317 bytes to 9 1752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 8: 4317 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1752s ok - glib/io-channel-basic.test 1752s # GLib-DEBUG: io-channel-basic: child writing 8+417 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 417 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+987 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 987 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1960 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 1960 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+2255 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 2255 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3695 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 3695 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1028 bytes to 9 1752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 8: 1028 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4661 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 4661 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4121 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 4121 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4516 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 4516 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3024 bytes to 9 1752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 8: 3024 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3404 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 3404 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+2133 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 2133 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 3606 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+2293 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 2293 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4834 bytes to 9 1752s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1752s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1752s # GLib-DEBUG: io-channel-basic: ...from 8: 4834 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1197 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 1197 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4878 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 4878 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+2821 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 2821 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4245 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 4245 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3441 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 3441 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4688 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 4688 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1793 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 1793 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4480 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 4480 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+2477 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 2477 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3103 bytes to 17 1752s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1752s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1752s # GLib-DEBUG: io-channel-basic: ...from 16: 3103 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1313 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 1313 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3050 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 3050 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+1646 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 1646 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+3105 bytes to 13 1752s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1752s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1752s # GLib-DEBUG: io-channel-basic: ...from 12: 3105 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4151 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 4151 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4336 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 4336 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s # GLib-DEBUG: io-channel-basic: child writing 8+4332 bytes to 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1752s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1752s # GLib-DEBUG: io-channel-basic: ...from 10: 4332 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1752s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1752s # GLib-DEBUG: io-channel-basic: child writing 8+559 bytes to 15 1752s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1752s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1752s # GLib-DEBUG: io-channel-basic: ...from 14: 559 bytes 1752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1752s ok 1 /gio/io-basics 1752s # slow test /gio/io-basics executed in 13.08 secs 1752s # End of gio tests 1752s TAP version 14 1752s # random seed: R02S3cf72f7c9712997f7dc74dae53890681 1752s 1..1 1752s # Start of gutils tests 1752s ok 1 /gutils/get_user_database_entry 1752s # End of gutils tests 1752s TAP version 14 1752s # random seed: R02Sc39a5997f01684cfb7c84491a9ee66e7 1752s 1..8 1752s # Start of g-file tests 1752s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1752s ok 1 /g-file/test_g_file_new_null 1752s ok 2 /g-file/test_g_file_new_for_path 1752s ok 3 /g-file/test_g_file_new_for_uri 1752s ok 4 /g-file/test_g_file_dup 1752s ok 5 /g-file/test_g_file_get_parse_name_utf8 1752s file:///tmp/test-tmp-glib_g-file.test-L42PJ3 1752s file:///tmp 1752s file:///tmp 1752s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1752s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1752s ok 6 /g-file/test_g_file_new_for_commandline_arg 1752s /dir1 /dir1/dir2/dir3/ 1752s /dir1/ /dir1/dir2/dir3/ 1752s /dir1 /dir1/dir2/dir3 1752s /dir1/ /dir1/dir2/dir3 1752s /tmp/ /something/ 1752s /dir1/dir2 /dir1/ 1752s //dir1/new //dir1/new/dir2/dir3 1752s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1752s file:///dir1 file:///dir1/dir2/dir3/ 1752s file:///dir1/ file:///dir1/dir2/dir3/ 1752s file:///dir1 file:///dir1/dir2/dir3 1752s file:///dir1/ file:///dir1/dir2/dir3 1752s file:///tmp/ file:///something/ 1752s file:///dir1/dir2 file:///dir1/ 1752s file:////dir1/new file:////dir1/new/dir2/dir3 1752s 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 1752s ok 7 /g-file/test_g_file_has_prefix 1752s ok 8 /g-file/test_g_file_get_parent_child 1752s # End of g-file tests 1752s TAP version 14 1752s # random seed: R02S9f3e00071c42f6ee23e7634b1bcccf6b 1752s 1..1 1752s # Start of tls-backend tests 1752s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1752s ok 1 /tls-backend/set-default-database 1752s # End of tls-backend tests 1752s TAP version 14 1752s # random seed: R02Saea7a119e8fbca4b098909c034c4fd71 1752s 1..2 1752s # Start of properties tests 1752s # Start of custom-dispatch tests 1752s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1752s ok 1 /properties/custom-dispatch/init 1752s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1752s ok 2 /properties/custom-dispatch/set 1752s # End of custom-dispatch tests 1752s # End of properties tests 1752s TAP version 14 1752s # random seed: R02S20e01761998a41863bdddebdabf9a6aa 1752s 1..41 1752s # Start of utils tests 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/language-names/.dirs/runtime 1752s ok 1 /utils/language-names 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/locale-variants/.dirs/runtime 1752s # Testing locale ‘en’ 1752s # Testing locale ‘sr@latin’ 1752s # Testing locale ‘fr_BE’ 1752s # Testing locale ‘sr_SR@latin’ 1752s # Testing locale ‘sr_SR@latin.UTF-8’ 1752s # Testing locale ‘sr@latin_invalid’ 1752s # Testing locale ‘sr.UTF-8@latin’ 1752s # Testing locale ‘sr.UTF-8_latin’ 1752s # Testing locale ‘sr.UTF-8@latin_invalid’ 1752s ok 2 /utils/locale-variants 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/version/.dirs/runtime 1752s ok 3 /utils/version 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/appname/.dirs/runtime 1752s ok 4 /utils/appname 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/prgname-thread-safety/.dirs/runtime 1752s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1752s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1752s ok 5 /utils/prgname-thread-safety 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir/.dirs/runtime 1752s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1752s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/tmpdir: No such file or directory 1752s ok 6 /utils/tmpdir 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/basic_bits/.dirs/runtime 1752s ok 7 /utils/basic_bits 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/bits/.dirs/runtime 1752s ok 8 /utils/bits 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/swap/.dirs/runtime 1752s ok 9 /utils/swap 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/find-program/.dirs/runtime 1752s ok 10 /utils/find-program 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/find-program-for-path/.dirs/runtime 1752s ok 11 /utils/find-program-for-path 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/debug/.dirs/runtime 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/debug: No such file or directory 1752s ok 12 /utils/debug 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/codeset/.dirs/runtime 1752s ok 13 /utils/codeset 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/codeset2/.dirs/runtime 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/codeset2: No such file or directory 1752s ok 14 /utils/codeset2 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/console-charset/.dirs/runtime 1752s ok 15 /utils/console-charset 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/gettext/.dirs/runtime 1752s ok 16 /utils/gettext 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/username/.dirs/runtime 1752s ok 17 /utils/username 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/realname/.dirs/runtime 1752s ok 18 /utils/realname 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/hostname/.dirs/runtime 1752s ok 19 /utils/hostname 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/os-info/.dirs/runtime 1752s # NAME: Ubuntu 1752s ok 20 /utils/os-info 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/.dirs/runtime 1752s ok 21 /utils/clear-pointer 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer-cast/.dirs/runtime 1752s ok 22 /utils/clear-pointer-cast 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/take-pointer/.dirs/runtime 1752s ok 23 /utils/take-pointer 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-source/.dirs/runtime 1752s ok 24 /utils/clear-source 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/misc-mem/.dirs/runtime 1752s ok 25 /utils/misc-mem 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/.dirs/runtime 1752s # /utils/aligned-mem summary: Aligned memory allocator 1752s # Alignment must not be zero 1752s # Alignment must be a power of two 1752s # Alignment must be a multiple of sizeof(void*) 1752s ok 26 /utils/aligned-mem 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/free-sized/.dirs/runtime 1752s # /utils/free-sized summary: Check that g_free_sized() works 1752s ok 27 /utils/free-sized 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/nullify/.dirs/runtime 1752s ok 28 /utils/nullify 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/atexit/.dirs/runtime 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/atexit: No such file or directory 1752s ok 29 /utils/atexit 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/check-setuid/.dirs/runtime 1752s ok 30 /utils/check-setuid 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/int-limits/.dirs/runtime 1752s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1752s ok 31 /utils/int-limits 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-list/.dirs/runtime 1752s ok 32 /utils/clear-list 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-slist/.dirs/runtime 1752s ok 33 /utils/clear-slist 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/steal-handle-id/.dirs/runtime 1752s ok 34 /utils/steal-handle-id 1752s # Start of user-special-dirs tests 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/desktop/.dirs/runtime 1752s ok 35 /utils/user-special-dirs/desktop 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1752s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1752s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1752s ok 36 /utils/user-special-dirs/load-unlocked 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1752s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1752s Unable to clean up temporary directory /tmp/test_utils-c-11_JOPPJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1752s ok 37 /utils/user-special-dirs/reload-leaks 1752s # End of user-special-dirs tests 1752s # Start of clear-pointer tests 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/clear-pointer/side-effects/.dirs/runtime 1752s ok 38 /utils/clear-pointer/side-effects 1752s # End of clear-pointer tests 1752s # Start of aligned-mem tests 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/alignment/.dirs/runtime 1752s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1752s ok 39 /utils/aligned-mem/alignment 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/zeroed/.dirs/runtime 1752s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1752s ok 40 /utils/aligned-mem/zeroed 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JOPPJ3/utils/aligned-mem/free-sized/.dirs/runtime 1752s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1752s ok 41 /utils/aligned-mem/free-sized 1752s # Start of subprocess tests 1752s # End of subprocess tests 1752s # End of aligned-mem tests 1752s # End of utils tests 1752s # Running test: glib/gutils-user-database.test 1752s ok - glib/gutils-user-database.test 1752s # Running test: glib/g-file.test 1752s ok - glib/g-file.test 1752s # Running test: glib/tls-database.test 1752s ok - glib/tls-database.test 1752s # Running test: glib/custom-dispatch.test 1752s ok - glib/custom-dispatch.test 1752s # Running test: glib/utils-c-11.test 1752s ok - glib/utils-c-11.test 1752s # Running test: glib/rand.test 1752s ok - glib/rand.test 1752s # Running test: glib/data-input-stream.test 1752s TAP version 14 1752s # random seed: R02S0eed68cd123a31d77273db608fc5e945 1752s 1..2 1752s # Start of rand tests 1752s ok 1 /rand/test-rand 1752s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1752s ok 2 /rand/double-range 1752s # End of rand tests 1752s TAP version 14 1752s # random seed: R02S731d059cd02b7842b678fc767a064943 1752s 1..10 1752s # Start of data-input-stream tests 1752s ok 1 /data-input-stream/basic 1752s ok 2 /data-input-stream/read-lines-LF 1752s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1752s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1752s ok 5 /data-input-stream/read-lines-CR 1752s ok 6 /data-input-stream/read-lines-CR-LF 1752s ok 7 /data-input-stream/read-lines-any 1752s ok 8 /data-input-stream/read-until 1752s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1752s # Test vector 1: {"key": "value"}? and ? 1752s ok 9 /data-input-stream/read-upto 1752s ok - glib/data-input-stream.test 1752s ok 10 /data-input-stream/read-int 1752s # End of data-input-stream tests 1752s # Running test: glib/unix-fd.test 1752s TAP version 14 1752s # random seed: R02S3247c6ba81145587a9e0dada516faa50 1752s 1..2 1752s # Start of unix-fd tests 1752s ok 1 /unix-fd/fd-list 1752s ok 2 /unix-fd/scm 1752s # End of unix-fd tests 1752s ok - glib/unix-fd.test 1752s # Running test: glib/sleepy-stream.test 1752s TAP version 14 1752s # random seed: R02S8a80a35ec63b49af7508f77c8bc3dc45 1752s 1..2 1752s # Start of filter-stream tests 1752s ok 1 /filter-stream/input 1752s ok 2 /filter-stream/async 1752s # End of filter-stream tests 1752s ok - glib/sleepy-stream.test 1752s # Running test: glib/atomic-c-89.test 1752s TAP version 14 1752s # random seed: R02S5ccfa1e85262ba47a493a4353798b322 1752s 1..2 1752s # Start of atomic tests 1752s ok 1 /atomic/types 1752s ok 2 /atomic/threaded 1752s # End of atomic tests 1752s ok - glib/atomic-c-89.test 1752s # Running test: glib/cxx-14.test 1752s TAP version 14 1752s # random seed: R02Sbb66114a5882a3e6ce9b774c4830bfaa 1752s 1..2 1752s # Start of gtask tests 1752s # 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. 1752s ok 1 /gtask/name 1752s # Start of name tests 1752s # 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. 1752s ok 2 /gtask/name/macro-wrapper 1752s # End of name tests 1752s # End of gtask tests 1752s TAP version 14 1752s # random seed: R02S04b2acadf53062cf3156179d1223cad5 1752s 1..7 1752s # Start of mappedfile tests 1752s ok 1 /mappedfile/basic 1752s ok 2 /mappedfile/empty 1752s ok 3 /mappedfile/device 1752s ok 4 /mappedfile/nonexisting 1752s ok 5 /mappedfile/writable 1752s ok - glib/cxx-14.test 1752s # Running test: glib/mappedfile.test 1752s ok 6 /mappedfile/writable_fd 1752s ok 7 /mappedfile/gbytes 1752s # End of mappedfile tests 1752s ok - glib/mappedfile.test 1752s # Running test: glib/portal-support-flatpak-none.test 1752s ok - glib/portal-support-flatpak-none.test 1752s TAP version 14 1752s # random seed: R02Sb58b01fb1439895af383de45bc183d1c 1752s 1..1 1752s # Start of portal-support tests 1752s # Start of flatpak tests 1752s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/home 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/cache 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/system-config2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/config 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/system-data2 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/data 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/state 1752s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/runtime 1752s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_DLL2J3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1752s ok 1 /portal-support/flatpak/none 1752s # End of flatpak tests 1752s # End of portal-support tests 1752s # Running test: glib/thread-pool-slow.test 1752s TAP version 14 1752s # random seed: R02Sd27f412e5cadfc9c40564bd3ab06c5c7 1752s 1..7 1752s # Start of threadpool tests 1752s ok 1 /threadpool/functions 1753s ok 2 /threadpool/stop-unused 1753s # slow test /threadpool/stop-unused executed in 0.51 secs 1753s ok 3 /threadpool/pools 1753s # [unsorted] ===> pushed new thread with id:67, number of threads:1, unprocessed:1 1753s # [unsorted] ===> pushed new thread with id:17, number of threads:2, unprocessed:2 1753s # [unsorted] ===> pushed new thread with id:81, number of threads:3, unprocessed:3 1753s # [unsorted] ===> pushed new thread with id:53, number of threads:4, unprocessed:4 1753s # [unsorted] ===> pushed new thread with id:93, number of threads:5, unprocessed:5 1753s # [unsorted] ===> pushed new thread with id:51, number of threads:6, unprocessed:5 1753s # [unsorted] ===> pushed new thread with id:88, number of threads:7, unprocessed:6 1753s # [unsorted] ===> pushed new thread with id:28, number of threads:8, unprocessed:6 1753s # [unsorted] ===> pushed new thread with id:78, number of threads:9, unprocessed:6 1753s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:7 1753s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:7 1753s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:8 1753s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:9 1753s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:9 1753s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:9 1753s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:10 1753s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:10 1753s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:10 1753s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:10 1753s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:10 1753s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:11 1753s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:12 1753s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:13 1753s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:14 1753s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:15 1753s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:16 1753s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:17 1753s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:18 1753s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:19 1753s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:20 1753s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:21 1753s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:22 1753s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:23 1753s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:24 1753s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:25 1753s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:26 1753s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:27 1753s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:28 1753s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:29 1753s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:30 1753s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:31 1753s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:32 1753s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:33 1753s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:34 1753s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:35 1753s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:36 1753s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:37 1753s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:38 1753s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:39 1753s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:40 1753s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:41 1753s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:42 1753s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:43 1753s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:44 1753s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:45 1753s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:46 1753s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:47 1753s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:48 1753s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:49 1753s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:50 1753s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:51 1753s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:52 1753s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:53 1753s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:54 1753s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:55 1753s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:56 1753s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:57 1753s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:58 1753s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:59 1753s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:60 1753s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:61 1753s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:62 1753s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:63 1753s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:64 1753s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:65 1753s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:66 1753s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:67 1753s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:68 1753s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:69 1753s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:70 1753s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:71 1753s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:72 1753s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:73 1753s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:74 1753s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:75 1753s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:76 1753s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:77 1753s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:78 1753s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:79 1753s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:80 1753s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:81 1753s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:82 1753s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:83 1753s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:84 1753s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:85 1753s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:86 1753s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:87 1753s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:88 1753s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:89 1753s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:90 1753s ok 4 /threadpool/no-sort 1753s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:1 1753s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:2 1753s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:3 1753s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:4 1753s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:5 1753s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:6 1753s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:7 1753s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:8 1753s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:9 1753s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:10 1753s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:11 1753s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:12 1753s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:13 1753s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:14 1753s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:15 1753s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:16 1753s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:17 1753s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:18 1753s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:19 1753s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:20 1753s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:21 1753s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:22 1753s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:23 1753s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:24 1753s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:25 1753s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:26 1753s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:27 1753s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:28 1753s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:29 1753s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:30 1753s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:31 1753s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:32 1753s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:33 1753s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:34 1753s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:35 1753s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:36 1753s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:37 1753s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:38 1753s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:39 1753s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:40 1753s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:41 1753s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:42 1753s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:43 1753s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:44 1753s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:45 1753s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:46 1753s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:47 1753s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:48 1753s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49 1753s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:50 1753s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:51 1753s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:52 1753s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:53 1753s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:54 1753s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:55 1753s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:56 1753s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:57 1753s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:58 1753s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:59 1753s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:60 1753s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:61 1753s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:62 1753s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:63 1753s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:64 1753s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:65 1753s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:66 1753s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:67 1753s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:68 1753s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:69 1753s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:70 1753s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:71 1753s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:72 1753s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:73 1753s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:74 1753s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:75 1753s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:76 1753s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:77 1753s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:78 1753s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:79 1753s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:80 1753s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:81 1753s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:82 1753s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:83 1753s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:84 1753s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:85 1753s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:86 1753s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:87 1753s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:88 1753s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:89 1753s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:90 1753s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:91 1753s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:92 1753s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:93 1753s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:94 1753s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:95 1753s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:96 1753s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:97 1753s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:98 1753s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:99 1753s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:100 1753s # Starting thread pool processing 1753s ok 5 /threadpool/sort 1753s # Executing: glib/thread-pool-slow.test 1753s ok 6 /threadpool/stop-unused-multiple 1753s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1753s # Pool idle thread count: 0, unprocessed jobs: 40 1754s # Pool idle thread count: 0, unprocessed jobs: 0 1754s # Pool idle thread count: 0, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1756s # Pool idle thread count: 10, unprocessed jobs: 0 1757s # Pool idle thread count: 10, unprocessed jobs: 0 1757s # Pool idle thread count: 10, unprocessed jobs: 0 1757s # Pool idle thread count: 10, unprocessed jobs: 0 1757s # Pool idle thread count: 10, unprocessed jobs: 0 1758s # Executing: glib/thread-pool-slow.test 1758s # Pool idle thread count: 10, unprocessed jobs: 0 1758s # Pool idle thread count: 10, unprocessed jobs: 0 1758s # Pool idle thread count: 10, unprocessed jobs: 0 1758s # Pool idle thread count: 10, unprocessed jobs: 0 1759s # Pool idle thread count: 10, unprocessed jobs: 0 1759s # Pool idle thread count: 10, unprocessed jobs: 0 1760s # Pool idle thread count: 10, unprocessed jobs: 0 1760s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1761s # Pool idle thread count: 10, unprocessed jobs: 0 1762s # Pool idle thread count: 10, unprocessed jobs: 0 1762s # Pool idle thread count: 10, unprocessed jobs: 0 1762s # Pool idle thread count: 10, unprocessed jobs: 2 1762s # Pool idle thread count: 8, unprocessed jobs: 0 1762s # Pool idle thread count: 8, unprocessed jobs: 0 1762s # Pool idle thread count: 8, unprocessed jobs: 0 1763s # Pool idle thread count: 10, unprocessed jobs: 0 1763s # Pool idle thread count: 10, unprocessed jobs: 0 1763s # Executing: glib/thread-pool-slow.test 1763s # Pool idle thread count: 10, unprocessed jobs: 0 1763s # Pool idle thread count: 10, unprocessed jobs: 0 1764s # Pool idle thread count: 10, unprocessed jobs: 0 1764s # Pool idle thread count: 10, unprocessed jobs: 0 1764s # Pool idle thread count: 2, unprocessed jobs: 0 1764s # Pool idle thread count: 2, unprocessed jobs: 0 1765s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1766s # Pool idle thread count: 2, unprocessed jobs: 0 1767s # Pool idle thread count: 2, unprocessed jobs: 0 1767s # Pool idle thread count: 2, unprocessed jobs: 0 1767s # Pool idle thread count: 2, unprocessed jobs: 0 1767s # Pool idle thread count: 2, unprocessed jobs: 0 1768s # Pool idle thread count: 2, unprocessed jobs: 0 1768s # Pool idle thread count: 2, unprocessed jobs: 0 1768s # Executing: glib/thread-pool-slow.test 1768s # Pool idle thread count: 2, unprocessed jobs: 0 1768s # Pool idle thread count: 2, unprocessed jobs: 0 1769s # Pool idle thread count: 2, unprocessed jobs: 0 1769s # Pool idle thread count: 2, unprocessed jobs: 0 1769s # Pool idle thread count: 2, unprocessed jobs: 0 1769s # Pool idle thread count: 2, unprocessed jobs: 0 1770s # Pool idle thread count: 2, unprocessed jobs: 0 1770s # Pool idle thread count: 2, unprocessed jobs: 0 1770s # Pool idle thread count: 2, unprocessed jobs: 0 1770s # Pool idle thread count: 2, unprocessed jobs: 0 1771s # Pool idle thread count: 2, unprocessed jobs: 0 1771s # Pool idle thread count: 2, unprocessed jobs: 0 1771s # Pool idle thread count: 2, unprocessed jobs: 0 1771s # Pool idle thread count: 2, unprocessed jobs: 0 1772s # Pool idle thread count: 2, unprocessed jobs: 0 1772s # Pool idle thread count: 2, unprocessed jobs: 0 1773s # Pool idle thread count: 2, unprocessed jobs: 0 1773s # Pool idle thread count: 2, unprocessed jobs: 0 1773s ok - glib/thread-pool-slow.test 1773s # Running test: glib/cxx-03.test 1773s ok 7 /threadpool/idle-time 1773s # slow test /threadpool/idle-time executed in 19.53 secs 1773s # End of threadpool tests 1773s TAP version 14 1773s # random seed: R02Sfc8bf06a40952afb4d5b2c60f2db365a 1773s 1..2 1773s # Start of gtask tests 1773s # 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. 1773s ok 1 /gtask/name 1773s # Start of name tests 1773s # 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. 1773s ok 2 /gtask/name/macro-wrapper 1773s # End of name tests 1773s # End of gtask tests 1773s TAP version 14 1773s # random seed: R02S6d2a7d788331739d4250822e87a11b26 1773s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1773s TAP version 14 1773s # random seed: R02Se3f75011d737efcc4b609695409bc6c2 1773s 1..3 1773s # Start of dir tests 1773s ok 1 /dir/read 1773s ok 2 /dir/nonexisting 1773s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1773s ok 3 /dir/refcounting 1773s # End of dir tests 1773s TAP version 14 1773s # random seed: R02S10cd84a8ef86b0c3cf0841f3a1e4514d 1773s 1..2 1773s # Start of gtask tests 1773s # 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. 1773s ok 1 /gtask/name 1773s # Start of name tests 1773s # 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. 1773s ok 2 /gtask/name/macro-wrapper 1773s # End of name tests 1773s # End of gtask tests 1773s TAP version 14 1773s # random seed: R02S880c7a3322e12e22d38f0f02823d6e08 1773s 1..7 1773s # Start of tree tests 1773s ok 1 /tree/search 1773s ok 2 /tree/remove 1773s ok 3 /tree/destroy 1773s ok 4 /tree/traverse 1773s ok 5 /tree/insert 1773s ok 6 /tree/bounds 1773s ok 7 /tree/remove-all 1773s # End of tree tests 1773s TAP version 14 1773s # random seed: R02S56a44e16f70298a29a1130400d5e634f 1773s 1..28 1773s # Start of base64 tests 1773s ok 1 /base64/encode 1773s ok 2 /base64/decode 1773s ok 3 /base64/decode-inplace 1773s ok 4 /base64/encode-decode 1773s # Start of full tests 1773s ok 5 /base64/full/1 1773s ok 6 /base64/full/2 1773s ok 7 /base64/full/3 1773s ok 8 /base64/full/4 1773s # End of full tests 1773s # Start of encode tests 1773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1773s ok 9 /base64/encode/empty 1773s # Start of incremental tests 1773s # Start of small-block tests 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1773s ok 10 /base64/encode/incremental/small-block/1 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1773s ok 11 /base64/encode/incremental/small-block/2 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1773s ok 12 /base64/encode/incremental/small-block/3 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1773s ok 13 /base64/encode/incremental/small-block/4 1773s # End of small-block tests 1773s # End of incremental tests 1773s # End of encode tests 1773s # Start of incremental tests 1773s # Start of nobreak tests 1773s ok 14 /base64/incremental/nobreak/1 1773s ok 15 /base64/incremental/nobreak/2 1773s ok 16 /base64/incremental/nobreak/3 1773s ok 17 /base64/incremental/nobreak/4-a 1773s ok 18 /base64/incremental/nobreak/4-b 1773s ok 19 /base64/incremental/nobreak/4-c 1773s # End of nobreak tests 1773s # Start of break tests 1773s ok 20 /base64/incremental/break/1 1773s ok 21 /base64/incremental/break/2 1773s ok 22 /base64/incremental/break/3 1773s # End of break tests 1773s # Start of smallblock tests 1773s ok 23 /base64/incremental/smallblock/1 1773s ok 24 /base64/incremental/smallblock/2 1773s ok 25 /base64/incremental/smallblock/3 1773s ok 26 /base64/incremental/smallblock/4 1773s # End of smallblock tests 1773s # End of incremental tests 1773s # Start of decode tests 1773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1773s ok 27 /base64/decode/empty 1773s # End of decode tests 1773s # Start of encode-decode tests 1773s # Vector 0: 1773s # Vector 1: f 1773s # Vector 2: fo 1773s # Vector 3: foo 1773s # Vector 4: foob 1773s # Vector 5: fooba 1773s # Vector 6: foobar 1773s ok 28 /base64/encode-decode/rfc4648 1773s # End of encode-decode tests 1773s # End of base64 tests 1773s TAP version 14 1773s # random seed: R02S2a48ed02dc945e0ade7a267c504c6d34 1773s 1..14 1773s # Start of properties tests 1773s ok 1 /properties/install 1773s ok 2 /properties/install-many 1773s ok 3 /properties/notify 1773s ok 4 /properties/notify-queue 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1773s ok 5 /properties/construct 1773s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1773s # Test g_object_get_property with an initialized value 1773s # Test g_object_get_property with an uninitialized value 1773s # Test g_object_get_property with a transformable value 1773s ok 6 /properties/get-property 1773s ok 7 /properties/testv_with_no_properties 1773s ok 8 /properties/testv_with_valid_properties 1773s ok 9 /properties/testv_with_invalid_property_type 1773s ok 10 /properties/testv_with_invalid_property_names 1773s ok 11 /properties/testv_getv 1773s ok 12 /properties/testv_notify_queue 1773s # Start of notify tests 1773s ok 13 /properties/notify/too-many-freezes 1773s # End of notify tests 1773s # Start of set-property tests 1773s # Start of variant tests 1773s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1773s ok 14 /properties/set-property/variant/floating 1773s # End of variant tests 1773s # End of set-property tests 1773s # End of properties tests 1773s TAP version 14 1773s # random seed: R02S23851e130663036704fdfc67df653fff 1773s 1..17 1773s # Start of converter tests 1773s ok 1 /converter/basics 1773s # End of converter tests 1773s # Start of converter-input-stream tests 1773s ok 2 /converter-input-stream/expander 1773s ok 3 /converter-input-stream/compressor 1773s # Start of truncation tests 1773s ok 4 /converter-input-stream/truncation/zlib 1773s ok 5 /converter-input-stream/truncation/gzip 1773s ok - glib/cxx-03.test 1773s # Running test: glib/gdbus-threading.test 1773s ok - glib/gdbus-threading.test 1773s # Running test: glib/dir.test 1773s ok - glib/dir.test 1773s # Running test: glib/cxx-11.test 1773s ok - glib/cxx-11.test 1773s # Running test: glib/tree.test 1773s ok - glib/tree.test 1773s # Running test: glib/base64.test 1773s ok - glib/base64.test 1773s # Running test: glib/properties.test 1773s ok - glib/properties.test 1773s # Running test: glib/converter-stream.test 1773s # Executing: glib/converter-stream.test 1773s ok 6 /converter-input-stream/truncation/raw 1773s # End of truncation tests 1773s # Start of charset tests 1773s ok 7 /converter-input-stream/charset/utf8->latin1 1773s ok 8 /converter-input-stream/charset/latin1->utf8 1773s ok 9 /converter-input-stream/charset/fallbacks 1773s # End of charset tests 1773s # End of converter-input-stream tests 1773s # Start of converter-output-stream tests 1773s # Start of roundtrip tests 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1773s ok 10 /converter-output-stream/roundtrip/zlib-0 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1774s ok 11 /converter-output-stream/roundtrip/zlib-9 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1774s ok 12 /converter-output-stream/roundtrip/gzip-0 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1774s ok 13 /converter-output-stream/roundtrip/gzip-9 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1774s ok 14 /converter-output-stream/roundtrip/raw-0 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1774s ok 15 /converter-output-stream/roundtrip/raw-9 1774s # End of roundtrip tests 1774s # End of converter-output-stream tests 1774s # Start of converter-stream tests 1774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc724894bfb20 and GSocketClientAsyncConnectData 0xc724894b8270 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc724890fec10 for GSocketClientAsyncConnectData 0xc724894b8270 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s ok - glib/converter-stream.test 1774s ok 16 /converter-stream/pollable 1774s ok 17 /converter-stream/leftover 1774s # End of converter-stream tests 1774s # Running test: glib/queue.test 1774s TAP version 14 1774s # random seed: R02Sf1945217d421e22e171d466b6b56c861 1774s 1..12 1774s # Start of queue tests 1774s ok 1 /queue/basic 1774s ok 2 /queue/copy 1774s ok 3 /queue/off-by-one 1774s ok 4 /queue/find-custom 1774s ok 5 /queue/static 1774s ok 6 /queue/clear 1774s ok 7 /queue/free-full 1774s ok 8 /queue/clear-full 1774s ok 9 /queue/insert-sibling-link 1774s ok 10 /queue/push-nth-link 1774s # Start of clear-full tests 1774s ok 11 /queue/clear-full/noop 1774s # End of clear-full tests 1774s # Start of random tests 1774s ok - glib/queue.test 1774s ok 12 /queue/random/seed:2128370844 1774s # End of random tests 1774s # End of queue tests 1774s # Running test: glib/utils-c-89.test 1774s TAP version 14 1774s # random seed: R02S10ac94229888afe35562b832bc00f5d4 1774s 1..41 1774s # Start of utils tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/language-names/.dirs/runtime 1774s ok 1 /utils/language-names 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/locale-variants/.dirs/runtime 1774s # Testing locale ‘en’ 1774s # Testing locale ‘sr@latin’ 1774s # Testing locale ‘fr_BE’ 1774s # Testing locale ‘sr_SR@latin’ 1774s # Testing locale ‘sr_SR@latin.UTF-8’ 1774s # Testing locale ‘sr@latin_invalid’ 1774s # Testing locale ‘sr.UTF-8@latin’ 1774s # Testing locale ‘sr.UTF-8_latin’ 1774s # Testing locale ‘sr.UTF-8@latin_invalid’ 1774s ok 2 /utils/locale-variants 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/version/.dirs/runtime 1774s ok 3 /utils/version 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/appname/.dirs/runtime 1774s ok 4 /utils/appname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/prgname-thread-safety/.dirs/runtime 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1774s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1774s ok 5 /utils/prgname-thread-safety 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir/.dirs/runtime 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1774s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/tmpdir: No such file or directory 1774s ok 6 /utils/tmpdir 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/basic_bits/.dirs/runtime 1774s ok 7 /utils/basic_bits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/bits/.dirs/runtime 1774s ok 8 /utils/bits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/swap/.dirs/runtime 1774s ok 9 /utils/swap 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/find-program/.dirs/runtime 1774s ok 10 /utils/find-program 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/find-program-for-path/.dirs/runtime 1774s ok 11 /utils/find-program-for-path 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/debug/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/debug: No such file or directory 1774s ok 12 /utils/debug 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/codeset/.dirs/runtime 1774s ok 13 /utils/codeset 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/codeset2/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/codeset2: No such file or directory 1774s ok 14 /utils/codeset2 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/console-charset/.dirs/runtime 1774s ok 15 /utils/console-charset 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/gettext/.dirs/runtime 1774s ok 16 /utils/gettext 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/username/.dirs/runtime 1774s ok 17 /utils/username 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/realname/.dirs/runtime 1774s ok 18 /utils/realname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/hostname/.dirs/runtime 1774s ok 19 /utils/hostname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/os-info/.dirs/runtime 1774s # NAME: Ubuntu 1774s ok 20 /utils/os-info 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/.dirs/runtime 1774s ok 21 /utils/clear-pointer 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer-cast/.dirs/runtime 1774s ok 22 /utils/clear-pointer-cast 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/take-pointer/.dirs/runtime 1774s ok 23 /utils/take-pointer 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-source/.dirs/runtime 1774s ok 24 /utils/clear-source 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/misc-mem/.dirs/runtime 1774s ok 25 /utils/misc-mem 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/.dirs/runtime 1774s # /utils/aligned-mem summary: Aligned memory allocator 1774s # Alignment must not be zero 1774s # Alignment must be a power of two 1774s # Alignment must be a multiple of sizeof(void*) 1774s ok 26 /utils/aligned-mem 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/free-sized/.dirs/runtime 1774s # /utils/free-sized summary: Check that g_free_sized() works 1774s ok 27 /utils/free-sized 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/nullify/.dirs/runtime 1774s ok 28 /utils/nullify 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/atexit/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/atexit: No such file or directory 1774s ok 29 /utils/atexit 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/check-setuid/.dirs/runtime 1774s ok 30 /utils/check-setuid 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/int-limits/.dirs/runtime 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1774s ok 31 /utils/int-limits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-list/.dirs/runtime 1774s ok 32 /utils/clear-list 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-slist/.dirs/runtime 1774s ok 33 /utils/clear-slist 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/steal-handle-id/.dirs/runtime 1774s ok 34 /utils/steal-handle-id 1774s # Start of user-special-dirs tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/desktop/.dirs/runtime 1774s ok 35 /utils/user-special-dirs/desktop 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1774s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1774s ok - glib/utils-c-89.test 1774s # Running test: glib/string.test 1774s ok 36 /utils/user-special-dirs/load-unlocked 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1774s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1774s Unable to clean up temporary directory /tmp/test_utils-c-89_BL6MJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1774s ok 37 /utils/user-special-dirs/reload-leaks 1774s # End of user-special-dirs tests 1774s # Start of clear-pointer tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/clear-pointer/side-effects/.dirs/runtime 1774s ok 38 /utils/clear-pointer/side-effects 1774s # End of clear-pointer tests 1774s # Start of aligned-mem tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/alignment/.dirs/runtime 1774s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1774s ok 39 /utils/aligned-mem/alignment 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/zeroed/.dirs/runtime 1774s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1774s ok 40 /utils/aligned-mem/zeroed 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_BL6MJ3/utils/aligned-mem/free-sized/.dirs/runtime 1774s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1774s ok 41 /utils/aligned-mem/free-sized 1774s # Start of subprocess tests 1774s # End of subprocess tests 1774s # End of aligned-mem tests 1774s # End of utils tests 1774s TAP version 14 1774s # random seed: R02S778caf1f49a86958e04a50cf344a8dd5 1774s 1..25 1774s # Start of string tests 1774s ok 1 /string/chunks 1774s ok 2 /string/chunk-insert 1774s ok 3 /string/new 1774s ok 4 /string/printf 1774s ok 5 /string/assign 1774s ok 6 /string/append-c 1774s ok 7 /string/append 1774s ok 8 /string/append-vprintf 1774s ok 9 /string/prepend-c 1774s ok 10 /string/prepend 1774s ok 11 /string/insert 1774s ok 12 /string/insert-unichar 1774s ok 13 /string/equal 1774s ok 14 /string/truncate 1774s ok 15 /string/overwrite 1774s ok 16 /string/nul-handling 1774s ok 17 /string/up-down 1774s ok 18 /string/set-size 1774s ok 19 /string/to-bytes 1774s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1774s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1774s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1774s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1774s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1774s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1774s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1774s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1774s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1774s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1774s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1774s # -> 4 replacements, "fd fr fals" 1774s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1774s # -> 3 replacements, "aaaaaaaaa" 1774s # 7: Replacing "a" with "" (limit 0) in "aaa" 1774s # -> 3 replacements, "" 1774s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1774s # -> 1 replacements, "bba" 1774s # 9: Replacing "" with "bar" (limit 0) in "foo" 1774s # -> 4 replacements, "barfbarobarobar" 1774s # 10: Replacing "" with "bar" (limit 1) in "foo" 1774s # -> 1 replacements, "barfoo" 1774s # 11: Replacing "" with "bar" (limit 2) in "foo" 1774s # -> 2 replacements, "barfbaroo" 1774s ok - glib/string.test 1774s # 12: Replacing "" with "bar" (limit 3) in "foo" 1774s # -> 3 replacements, "barfbarobaro" 1774s # 13: Replacing "" with "bar" (limit 4) in "foo" 1774s # -> 4 replacements, "barfbarobarobar" 1774s # 14: Replacing "" with "bar" (limit 5) in "foo" 1774s # -> 4 replacements, "barfbarobarobar" 1774s # 15: Replacing "" with "x" (limit 0) in "" 1774s # -> 1 replacements, "x" 1774s # 16: Replacing "" with "" (limit 0) in "" 1774s # -> 1 replacements, "" 1774s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1774s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1774s ok 20 /string/replace 1774s ok 21 /string/steal 1774s ok 22 /string/new-take 1774s ok 23 /string/copy 1774s ok 24 /string/sized-new 1774s # Start of new-take tests 1774s ok 25 /string/new-take/null 1774s # End of new-take tests 1774s # End of string tests 1774s # Running test: glib/thread.test 1774s TAP version 14 1774s # random seed: R02S85c9ff6231423935fe445e42fc36f3ca 1774s 1..7 1774s # Start of thread tests 1774s ok 1 /thread/thread1 1774s ok 2 /thread/thread2 1774s ok 3 /thread/thread3 1774s ok 4 /thread/thread4 1774s ok 5 /thread/thread5 1774s ok - glib/thread.test 1774s ok 6 /thread/thread6 1774s ok 7 /thread/thread7 1774s # End of thread tests 1774s # Running test: glib/readwrite.test 1774s TAP version 14 1774s # random seed: R02S0deeb0a319b62887690c32c6505c81a3 1774s 1..3 1774s # Start of readwrite tests 1774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1774s ok 1 /readwrite/test_g_file_open_readwrite 1774s ok 2 /readwrite/test_g_file_create_readwrite 1774s ok - glib/readwrite.test 1774s # Running test: glib/cxx-2b.test 1774s ok 3 /readwrite/test_g_file_replace_readwrite 1774s # End of readwrite tests 1774s ok - glib/cxx-2b.test 1774s TAP version 14 1774s # random seed: R02Scd17dc69e8e63aaaef5c956ef2dcf962 1774s 1..2 1774s # Start of gtask tests 1774s # 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. 1774s ok 1 /gtask/name 1774s # Start of name tests 1774s # 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. 1774s ok 2 /gtask/name/macro-wrapper 1774s # End of name tests 1774s # End of gtask tests 1774s # Running test: glib/socket-service.test 1774s TAP version 14 1774s # random seed: R02S244c45a20ba997eb42847468c979e2ab 1774s 1..4 1774s # Start of socket-service tests 1774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5b076b0c210 and GSocketClientAsyncConnectData 0xc5b076b06f10 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s ok 1 /socket-service/start-stop 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5b076b102e0 and GSocketClientAsyncConnectData 0xc5b076b0ff40 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5b076b10260 for GSocketClientAsyncConnectData 0xc5b076b06f10 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5b076b10260 for GSocketClientAsyncConnectData 0xc5b076b0ff40 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s ok 2 /socket-service/read_write_async 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5b076b102e0 and GSocketClientAsyncConnectData 0xc5b076b13990 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5b076b12e10 for GSocketClientAsyncConnectData 0xc5b076b13990 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s ok 3 /socket-service/read_writev_async 1774s # Start of threaded tests 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5b076b04a80 and GSocketClientAsyncConnectData 0xc5b076b0ff40 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5b076b13b50 for GSocketClientAsyncConnectData 0xc5b076b0ff40 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s ok 4 /socket-service/threaded/712570 1774s # End of threaded tests 1774s # End of socket-service tests 1774s ok - glib/socket-service.test 1774s # Running test: glib/gdbus-test-codegen-old.test 1774s TAP version 14 1774s # random seed: R02S4bdbf660c7ac0243422949f2ffef8a95 1774s 1..8 1774s # Start of gdbus tests 1774s # Start of codegen tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/annotations/.dirs/runtime 1774s ok 1 /gdbus/codegen/annotations 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/interface_stability/.dirs/runtime 1774s ok 2 /gdbus/codegen/interface_stability 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/object-manager/.dirs/runtime 1774s ok 3 /gdbus/codegen/object-manager 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/property-naming/.dirs/runtime 1774s ok 4 /gdbus/codegen/property-naming 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/autocleanups/.dirs/runtime 1774s ok 5 /gdbus/codegen/autocleanups 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/deprecations/.dirs/runtime 1774s ok 6 /gdbus/codegen/deprecations 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1774s ok 7 /gdbus/codegen/standalone-interface-info 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_L54UJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1774s ok 8 /gdbus/codegen/unix-fd-list 1774s # End of codegen tests 1774s # End of gdbus tests 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s ok - glib/gdbus-test-codegen-old.test 1774s # Running test: glib/stream-rw_all.test 1774s ok - glib/stream-rw_all.test 1774s TAP version 14 1774s # random seed: R02S130355122406879038dedd40ba340109 1774s 1..3 1774s # Start of stream tests 1774s # Start of read_all_async tests 1774s ok 1 /stream/read_all_async/memory 1774s # End of read_all_async tests 1774s # Start of write_all_async tests 1774s ok 2 /stream/write_all_async/memory 1774s # End of write_all_async tests 1774s # Start of read_write_all_async tests 1774s ok 3 /stream/read_write_all_async/pipe 1774s # End of read_write_all_async tests 1774s # End of stream tests 1774s # Running test: glib/list.test 1774s TAP version 14 1774s # random seed: R02S4889f7f0518dbe089fa3ee005875f5a0 1774s 1..20 1774s # Start of list tests 1774s ok 1 /list/sort 1774s ok 2 /list/sort-with-data 1774s ok 3 /list/insert-before-link 1774s ok 4 /list/insert-sorted 1774s ok 5 /list/insert-sorted-with-data 1774s ok 6 /list/reverse 1774s ok 7 /list/nth 1774s ok 8 /list/concat 1774s ok 9 /list/remove 1774s ok 10 /list/remove-all 1774s ok 11 /list/first-last 1774s ok 12 /list/insert 1774s ok 13 /list/free-full 1774s ok 14 /list/copy 1774s ok 15 /list/copy-deep 1774s ok 16 /list/delete-link 1774s ok 17 /list/prepend 1774s ok 18 /list/position 1774s ok 19 /list/double-free 1774s # Start of sort tests 1774s ok 20 /list/sort/stable 1774s # End of sort tests 1774s # End of list tests 1774s ok - glib/list.test 1774s # Running test: glib/dbus-appinfo.test 1774s TAP version 14 1774s # random seed: R02S0c67c33984a380d5abc54dcc5aa5f5bf 1774s 1..7 1774s # Start of appinfo tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/runtime 1774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1774s ok 1 /appinfo/dbusappinfo 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/runtime 1774s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Documents 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/config 1774s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1774s # fake-document-portal cancelled 1774s ok 2 /appinfo/flatpak-doc-export 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1774s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Documents 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/config 1774s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1774s # fake-document-portal cancelled 1774s ok 3 /appinfo/flatpak-missing-doc-export 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/runtime 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Desktop 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/config 1774s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1774s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1774s # Response emitted 1774s # fake-desktop-portal cancelled 1774s ok 4 /appinfo/portal-open-file 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/runtime 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Desktop 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/config 1774s # Got open file request for http://example.com 1774s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1774s # Response emitted 1774s # fake-desktop-portal cancelled 1774s ok 5 /appinfo/portal-open-uri 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/runtime 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Desktop 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/config 1774s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1774s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1759860950 1774s # Response emitted 1774s # fake-desktop-portal cancelled 1774s ok 6 /appinfo/portal-open-file-async 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/runtime 1774s # Acquired a message bus connection 1774s # Acquired the name org.freedesktop.portal.Desktop 1774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_VCMTJ3/appinfo/portal-open-uri-async/.dirs/config 1774s # Got open file request for http://example.com 1774s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio822709750 1774s # Response emitted 1774s # fake-desktop-portal cancelled 1774s ok 7 /appinfo/portal-open-uri-async 1774s # End of appinfo tests 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s ok - glib/dbus-appinfo.test 1774s # Running test: glib/pollable.test 1774s TAP version 14 1774s # random seed: R02S218dd97508c0eb7cca75c76d19833dd1 1774s 1..6 1774s # Start of pollable tests 1774s ok 1 /pollable/converter 1774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1774s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb040236dfc90 and GSocketClientAsyncConnectData 0xb040236ec7b0 1774s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1774s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1774s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb040236e2e40 for GSocketClientAsyncConnectData 0xb040236ec7b0 1774s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1774s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1774s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1774s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1774s ok 2 /pollable/socket 1774s # Start of unix tests 1774s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1774s ok 3 /pollable/unix/pipe 1774s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1774s ok 4 /pollable/unix/pty 1774s # /pollable/unix/file summary: Test that regular files are not considered pollable 1774s ok 5 /pollable/unix/file 1774s # /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 1774s ok 6 /pollable/unix/nulldev 1774s # End of unix tests 1774s # End of pollable tests 1774s ok - glib/pollable.test 1774s # Running test: glib/utils.test 1774s TAP version 14 1774s # random seed: R02Sd725434df18bbb731b25aa4a58528626 1774s 1..41 1774s # Start of utils tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/language-names/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/language-names/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/language-names/.dirs/runtime 1774s ok 1 /utils/language-names 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/locale-variants/.dirs/runtime 1774s # Testing locale ‘en’ 1774s # Testing locale ‘sr@latin’ 1774s # Testing locale ‘fr_BE’ 1774s # Testing locale ‘sr_SR@latin’ 1774s # Testing locale ‘sr_SR@latin.UTF-8’ 1774s # Testing locale ‘sr@latin_invalid’ 1774s # Testing locale ‘sr.UTF-8@latin’ 1774s # Testing locale ‘sr.UTF-8_latin’ 1774s # Testing locale ‘sr.UTF-8@latin_invalid’ 1774s ok 2 /utils/locale-variants 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/version/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/version/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/version/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/version/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/version/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/version/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/version/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/version/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/version/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/version/.dirs/runtime 1774s ok 3 /utils/version 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/appname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/appname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/appname/.dirs/runtime 1774s ok 4 /utils/appname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/prgname-thread-safety/.dirs/runtime 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1774s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1774s ok 5 /utils/prgname-thread-safety 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/tmpdir/.dirs/runtime 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1774s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/tmpdir: No such file or directory 1774s ok 6 /utils/tmpdir 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/basic_bits/.dirs/runtime 1774s ok 7 /utils/basic_bits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/bits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/bits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/bits/.dirs/runtime 1774s ok 8 /utils/bits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/swap/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/swap/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/swap/.dirs/runtime 1774s ok 9 /utils/swap 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/find-program/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/find-program/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/find-program/.dirs/runtime 1774s ok 10 /utils/find-program 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/find-program-for-path/.dirs/runtime 1774s ok 11 /utils/find-program-for-path 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/debug/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/debug/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/debug/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/debug: No such file or directory 1774s ok 12 /utils/debug 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/codeset/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/codeset/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/codeset/.dirs/runtime 1774s ok 13 /utils/codeset 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/codeset2/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/codeset2: No such file or directory 1774s ok 14 /utils/codeset2 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/console-charset/.dirs/runtime 1774s ok 15 /utils/console-charset 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/gettext/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/gettext/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/gettext/.dirs/runtime 1774s ok 16 /utils/gettext 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/username/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/username/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/username/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/username/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/username/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/username/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/username/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/username/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/username/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/username/.dirs/runtime 1774s ok 17 /utils/username 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/realname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/realname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/realname/.dirs/runtime 1774s ok 18 /utils/realname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/hostname/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/hostname/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/hostname/.dirs/runtime 1774s ok 19 /utils/hostname 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/os-info/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/os-info/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/os-info/.dirs/runtime 1774s # NAME: Ubuntu 1774s ok 20 /utils/os-info 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-pointer/.dirs/runtime 1774s ok 21 /utils/clear-pointer 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-pointer-cast/.dirs/runtime 1774s ok 22 /utils/clear-pointer-cast 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/take-pointer/.dirs/runtime 1774s ok 23 /utils/take-pointer 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-source/.dirs/runtime 1774s ok 24 /utils/clear-source 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/misc-mem/.dirs/runtime 1774s ok 25 /utils/misc-mem 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/aligned-mem/.dirs/runtime 1774s # /utils/aligned-mem summary: Aligned memory allocator 1774s # Alignment must not be zero 1774s # Alignment must be a power of two 1774s # Alignment must be a multiple of sizeof(void*) 1774s ok 26 /utils/aligned-mem 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/free-sized/.dirs/runtime 1774s # /utils/free-sized summary: Check that g_free_sized() works 1774s ok 27 /utils/free-sized 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/nullify/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/nullify/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/nullify/.dirs/runtime 1774s ok 28 /utils/nullify 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/atexit/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/atexit/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/atexit/.dirs/runtime 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/atexit: No such file or directory 1774s ok 29 /utils/atexit 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/check-setuid/.dirs/runtime 1774s ok 30 /utils/check-setuid 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/int-limits/.dirs/runtime 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1774s ok 31 /utils/int-limits 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-list/.dirs/runtime 1774s ok 32 /utils/clear-list 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-slist/.dirs/runtime 1774s ok 33 /utils/clear-slist 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/steal-handle-id/.dirs/runtime 1774s ok 34 /utils/steal-handle-id 1774s # Start of user-special-dirs tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/desktop/.dirs/runtime 1774s ok 35 /utils/user-special-dirs/desktop 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1774s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/user-special-dirs/load-unlocked: No such file or directory 1774s ok 36 /utils/user-special-dirs/load-unlocked 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1774s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1774s Unable to clean up temporary directory /tmp/test_utils_5EQSJ3/utils/user-special-dirs/reload-leaks: No such file or directory 1774s ok 37 /utils/user-special-dirs/reload-leaks 1774s # End of user-special-dirs tests 1774s # Start of clear-pointer tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/clear-pointer/side-effects/.dirs/runtime 1774s ok 38 /utils/clear-pointer/side-effects 1774s # End of clear-pointer tests 1774s # Start of aligned-mem tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/aligned-mem/alignment/.dirs/runtime 1774s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1774s ok 39 /utils/aligned-mem/alignment 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/aligned-mem/zeroed/.dirs/runtime 1774s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1774s ok 40 /utils/aligned-mem/zeroed 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_5EQSJ3/utils/aligned-mem/free-sized/.dirs/runtime 1774s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1774s ok 41 /utils/aligned-mem/free-sized 1774s # Start of subprocess tests 1774s # End of subprocess tests 1774s # End of aligned-mem tests 1774s # End of utils tests 1774s ok - glib/utils.test 1774s # Running test: glib/gdbus-non-socket.test 1774s TAP version 14 1774s # random seed: R02Scf41912ff87f06aadd7ec453027825e5 1774s 1..1 1774s # Start of gdbus tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_YLQ2J3/gdbus/non-socket/.dirs/runtime 1774s ok - glib/gdbus-non-socket.test 1774s ok 1 /gdbus/non-socket 1774s # End of gdbus tests 1774s # Running test: glib/gdbus-proxy-unique-name.test 1774s TAP version 14 1774s # random seed: R02S4abd532e008d58e67ec4c04623355413 1774s 1..1 1774s # Start of gdbus tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_F1C2J3/gdbus/proxy-unique-name/.dirs/runtime 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s ok 1 /gdbus/proxy-unique-name 1774s # End of gdbus tests 1774s ok - glib/gdbus-proxy-unique-name.test 1774s # Running test: glib/collate.test 1774s TAP version 14 1774s # random seed: R02Sfee030be4313a6e8b0484c98bdf25d49 1774s 1..9 1774s # Start of unicode tests 1774s # Start of collate tests 1774s ok 1 /unicode/collate/0 1774s ok 2 /unicode/collate/1 1774s ok 3 /unicode/collate/2 1774s # End of collate tests 1774s # Start of collate-key tests 1774s ok 4 /unicode/collate-key/0 1774s ok 5 /unicode/collate-key/1 1774s ok 6 /unicode/collate-key/2 1774s # End of collate-key tests 1774s # Start of collate-filename tests 1774s ok 7 /unicode/collate-filename/0 1774s ok 8 /unicode/collate-filename/1 1774s ok 9 /unicode/collate-filename/2 1774s # End of collate-filename tests 1774s # End of unicode tests 1774s ok - glib/collate.test 1774s # Running test: glib/properties-refcount3.test 1774s TAP version 14 1774s # random seed: R02S3b8232a4001c960152ad256cbfbb8dee 1774s 1..1 1774s # Start of gobject tests 1774s # Start of refcount tests 1778s # Executing: glib/properties-refcount3.test 1783s # Executing: glib/properties-refcount3.test 1788s # Executing: glib/properties-refcount3.test 1793s # Executing: glib/properties-refcount3.test 1798s # Executing: glib/properties-refcount3.test 1803s # Executing: glib/properties-refcount3.test 1804s ok - glib/properties-refcount3.test 1804s # Running test: glib/overflow.test 1804s # 1804s # stopping 1804s # 1804s # stopped 1804s # 1804s # 24813222 1075089 1804s # 1804s ok 1 /gobject/refcount/properties-3 1804s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1804s # End of refcount tests 1804s # End of gobject tests 1804s ok - glib/overflow.test 1804s # Running test: glib/utf8-performance.test 1804s TAP version 14 1804s # random seed: R02S6bce4853b2251d6dbd31d9144d4268ac 1804s 1..6 1804s # Start of glib tests 1804s # Start of checked-math tests 1804s ok 1 /glib/checked-math/guint-add 1804s ok 2 /glib/checked-math/guint-mul 1804s ok 3 /glib/checked-math/guint64-add 1804s ok 4 /glib/checked-math/guint64-mul 1804s ok 5 /glib/checked-math/gsize-add 1804s ok 6 /glib/checked-math/gsize-mul 1804s # End of checked-math tests 1804s # End of glib tests 1804s TAP version 14 1804s ok - glib/utf8-performance.test 1804s # Running test: glib/macros.test 1804s ok - glib/macros.test 1804s # Running test: glib/unix-streams.test 1804s # random seed: R02Se79b0e740a52119c17daf518363dc716 1804s 1..36 1804s # Start of utf8 tests 1804s # Start of perf tests 1804s # Start of get_char tests 1804s # max perf: 43.0 MB/s 1804s ok 1 /utf8/perf/get_char/ascii 1804s # max perf: inf MB/s 1804s ok 2 /utf8/perf/get_char/latin1 1804s # max perf: inf MB/s 1804s ok 3 /utf8/perf/get_char/cyrillic 1804s # max perf: 156.0 MB/s 1804s ok 4 /utf8/perf/get_char/han 1804s # End of get_char tests 1804s # Start of get_char-backwards tests 1804s # max perf: 43.0 MB/s 1804s ok 5 /utf8/perf/get_char-backwards/ascii 1804s # max perf: inf MB/s 1804s ok 6 /utf8/perf/get_char-backwards/latin1 1804s # max perf: 160.0 MB/s 1804s ok 7 /utf8/perf/get_char-backwards/cyrillic 1804s # max perf: inf MB/s 1804s ok 8 /utf8/perf/get_char-backwards/han 1804s # End of get_char-backwards tests 1804s # Start of get_char_validated tests 1804s # max perf: inf MB/s 1804s ok 9 /utf8/perf/get_char_validated/ascii 1804s # max perf: 67.0 MB/s 1804s ok 10 /utf8/perf/get_char_validated/latin1 1804s # max perf: inf MB/s 1804s ok 11 /utf8/perf/get_char_validated/cyrillic 1804s # max perf: inf MB/s 1804s ok 12 /utf8/perf/get_char_validated/han 1804s # End of get_char_validated tests 1804s # Start of utf8_to_ucs4 tests 1804s # max perf: inf MB/s 1804s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1804s # max perf: 67.0 MB/s 1804s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1804s # max perf: 160.0 MB/s 1804s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1804s # max perf: 156.0 MB/s 1804s ok 16 /utf8/perf/utf8_to_ucs4/han 1804s # End of utf8_to_ucs4 tests 1804s # Start of utf8_to_ucs4-sized tests 1804s # max perf: inf MB/s 1804s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1804s # max perf: 67.0 MB/s 1804s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1804s # max perf: 160.0 MB/s 1804s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1804s # max perf: 156.0 MB/s 1804s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1804s # End of utf8_to_ucs4-sized tests 1804s # Start of utf8_to_ucs4_fast tests 1804s # max perf: inf MB/s 1804s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1804s # max perf: inf MB/s 1804s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1804s # max perf: 160.0 MB/s 1804s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1804s # max perf: inf MB/s 1804s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1804s # End of utf8_to_ucs4_fast tests 1804s # Start of utf8_to_ucs4_fast-sized tests 1804s # max perf: inf MB/s 1804s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1804s # max perf: 67.0 MB/s 1804s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1804s # max perf: inf MB/s 1804s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1804s # max perf: inf MB/s 1804s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1804s # End of utf8_to_ucs4_fast-sized tests 1804s # Start of utf8_validate tests 1804s # max perf: inf MB/s 1804s ok 29 /utf8/perf/utf8_validate/ascii 1804s # max perf: inf MB/s 1804s ok 30 /utf8/perf/utf8_validate/latin1 1804s # max perf: 160.0 MB/s 1804s ok 31 /utf8/perf/utf8_validate/cyrillic 1804s # max perf: inf MB/s 1804s ok 32 /utf8/perf/utf8_validate/han 1804s # End of utf8_validate tests 1804s # Start of utf8_validate-sized tests 1804s # max perf: inf MB/s 1804s ok 33 /utf8/perf/utf8_validate-sized/ascii 1804s # max perf: inf MB/s 1804s ok 34 /utf8/perf/utf8_validate-sized/latin1 1804s # max perf: 160.0 MB/s 1804s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1804s # max perf: inf MB/s 1804s ok 36 /utf8/perf/utf8_validate-sized/han 1804s # End of utf8_validate-sized tests 1804s # End of perf tests 1804s # End of utf8 tests 1804s TAP version 14 1804s # random seed: R02Sde72eb032aafb5fcfb57fb9cf5598603 1804s 1..3 1804s # Start of alignof tests 1804s ok 1 /alignof/fallback 1804s # End of alignof tests 1804s # Start of assert tests 1804s ok 2 /assert/static 1804s # End of assert tests 1804s # Start of struct tests 1804s ok 3 /struct/sizeof_member 1804s # End of struct tests 1804s TAP version 14 1804s # random seed: R02S12e01e1ced1fb8b1e561ee8be43ce91f 1804s 1..9 1804s # Start of unix-streams tests 1804s ok 1 /unix-streams/basic 1805s ok 2 /unix-streams/pipe-io-test 1805s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1805s ok 3 /unix-streams/nonblocking-io-test 1805s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1805s ok 4 /unix-streams/read_write 1805s ok 5 /unix-streams/read_writev 1805s ok 6 /unix-streams/write-wouldblock 1805s ok 7 /unix-streams/writev-wouldblock 1805s ok 8 /unix-streams/write-async-wouldblock 1805s ok 9 /unix-streams/writev-async-wouldblock 1805s ok - glib/unix-streams.test 1805s # Running test: glib/filenamecompleter.test 1805s # End of unix-streams tests 1805s TAP version 14 1805s # random seed: R02S3f398ba2a22a685695b1896c5e968eb4 1805s ok - glib/filenamecompleter.test 1805s # Running test: glib/fdo-notification-backend.test 1805s ok - glib/fdo-notification-backend.test 1805s # Running test: glib/bindinggroup.test 1805s 1..1 1805s # Start of filenamecompleter tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_S910J3/filenamecompleter/basic/.dirs/runtime 1805s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1805s ok 1 /filenamecompleter/basic 1805s # End of filenamecompleter tests 1805s TAP version 14 1805s # random seed: R02S1c38e2561060a5a968436d6f8c725d9d 1805s 1..2 1805s # Start of fdo-notification-backend tests 1805s # Test constructing a GFdoNotificationBackend 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s ok 1 /fdo-notification-backend/construction 1805s # Start of dbus tests 1805s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1805s ok 2 /fdo-notification-backend/dbus/activate-action 1805s # End of dbus tests 1805s # End of fdo-notification-backend tests 1805s TAP version 14 1805s # random seed: R02S2081816a89a0a4a08cd192f5f0968f3a 1805s 1..11 1805s # Start of GObject tests 1805s # Start of BindingGroup tests 1805s ok 1 /GObject/BindingGroup/invalid 1805s ok 2 /GObject/BindingGroup/default 1805s ok 3 /GObject/BindingGroup/bidirectional 1805s ok 4 /GObject/BindingGroup/transform 1805s ok 5 /GObject/BindingGroup/transform-closures 1805s ok 6 /GObject/BindingGroup/same-object 1805s ok 7 /GObject/BindingGroup/weak-ref-source 1805s ok 8 /GObject/BindingGroup/weak-ref-target 1805s ok 9 /GObject/BindingGroup/properties 1805s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1805s ok 11 /GObject/BindingGroup/empty-closures 1805s # End of BindingGroup tests 1805s # End of GObject tests 1805s ok - glib/bindinggroup.test 1805s # Running test: glib/refcount-macro.test 1805s TAP version 14 1805s # random seed: R02Sf8412952be0bb87adb159df587d07661 1805s 1..4 1805s # Start of refcount tests 1805s ok 1 /refcount/grefcount 1805s ok 2 /refcount/gatomicrefcount 1805s # Start of grefcount tests 1805s ok 3 /refcount/grefcount/saturation 1805s # End of grefcount tests 1805s # Start of gatomicrefcount tests 1805s ok 4 /refcount/gatomicrefcount/saturation 1805s # End of gatomicrefcount tests 1805s # End of refcount tests 1805s ok - glib/refcount-macro.test 1805s # Running test: glib/function-info.test 1805s ok - glib/function-info.test 1805s # Running test: glib/gdbus-serialization.test 1805s TAP version 14 1805s # random seed: R02S78671176b31fbae9cd96f43874c5e2ff 1805s 1..1 1805s # Start of function-info tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_A8L1J3/function-info/invoker/.dirs/runtime 1805s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1805s # /function-info/invoker summary: Test preparing a function invoker 1805s ok 1 /function-info/invoker 1805s # End of function-info tests 1805s TAP version 14 1805s # random seed: R02Sb409050dc4f3215a0fac66503bf14534 1805s 1..18 1805s # Start of gdbus tests 1805s # Start of message-serialize tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/basic/.dirs/runtime 1805s ok 1 /gdbus/message-serialize/basic 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/complex/.dirs/runtime 1805s ok 2 /gdbus/message-serialize/complex 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/invalid/.dirs/runtime 1805s ok 3 /gdbus/message-serialize/invalid 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/.dirs/runtime 1805s ok 4 /gdbus/message-serialize/header-checks 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/double-array/.dirs/runtime 1805s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1805s ok 5 /gdbus/message-serialize/double-array 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/empty-structure/.dirs/runtime 1805s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1805s ok 6 /gdbus/message-serialize/empty-structure 1805s # Start of header-checks tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1805s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1805s ok 7 /gdbus/message-serialize/header-checks/valid 1805s # End of header-checks tests 1805s # End of message-serialize tests 1805s # Start of message-parse tests 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1805s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1805s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/non-signature-header/.dirs/runtime 1805s ok 9 /gdbus/message-parse/non-signature-header 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1805s ok 10 /gdbus/message-parse/empty-signature-header 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1805s ok 11 /gdbus/message-parse/multiple-signature-header 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1805s ok 12 /gdbus/message-parse/over-long-signature-header 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1805s ok 13 /gdbus/message-parse/deep-header-nesting 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1805s ok 14 /gdbus/message-parse/deep-body-nesting 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/truncated/.dirs/runtime 1805s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1805s ok 15 /gdbus/message-parse/truncated 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/empty-structure/.dirs/runtime 1805s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1805s ok 16 /gdbus/message-parse/empty-structure 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/missing-header/.dirs/runtime 1805s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1805s ok 17 /gdbus/message-parse/missing-header 1805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/home 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/cache 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/config 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/data 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/state 1805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_KWD1J3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1805s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1805s ok 18 /gdbus/message-parse/invalid-header-type 1805s # End of message-parse tests 1805s # End of gdbus tests 1805s TAP version 14 1805s # random seed: R02Sd1e9982de73364a49d96d1ebaaf79bf4 1805s 1..18 1805s # Start of glistmodel tests 1805s # Start of store tests 1805s ok 1 /glistmodel/store/properties 1805s ok 2 /glistmodel/store/non-gobjects 1805s ok 3 /glistmodel/store/boundaries 1805s ok 4 /glistmodel/store/refcounts 1805s ok - glib/gdbus-serialization.test 1805s # Running test: glib/glistmodel.test 1805s ok 5 /glistmodel/store/sorted 1805s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1805s ok 6 /glistmodel/store/splice-replace-middle 1805s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1805s ok 7 /glistmodel/store/splice-replace-all 1805s ok 8 /glistmodel/store/splice-noop 1805s ok 9 /glistmodel/store/splice-remove-multiple 1805s ok 10 /glistmodel/store/splice-add-multiple 1805s ok 11 /glistmodel/store/splice-wrong-type 1805s ok 12 /glistmodel/store/item-type 1805s ok 13 /glistmodel/store/remove-all 1805s ok 14 /glistmodel/store/sort 1805s ok 15 /glistmodel/store/get-item-cache 1805s ok 16 /glistmodel/store/items-changed 1805s ok 17 /glistmodel/store/past-end 1805s ok 18 /glistmodel/store/find 1805s # End of store tests 1805s # End of glistmodel tests 1805s ok - glib/glistmodel.test 1805s # Running test: glib/search-utils.test 1805s TAP version 14 1805s # random seed: R02Sf977fd509bf5c6121e90945a47f2ca18 1805s # GLib-DEBUG: Current user locale: C.UTF-8 1805s 1..6 1805s # Start of search tests 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1805s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1805s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1805s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1805s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1805s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1805s ok 1 /search/basic 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1805s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1805s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1805s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1805s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1805s ok 2 /search/composed 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1805s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1805s ok 3 /search/decomposed 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1805s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1805s ok 4 /search/turkish 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1805s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1805s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1805s ok 5 /search/c_locale_unicode 1805s # GLib-DEBUG: Started 1805s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1805s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1805s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1805s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1805s ok 6 /search/multi_words 1805s # End of search tests 1805s ok - glib/search-utils.test 1805s # Running test: glib/gobject-query.py.test 1806s TAP version 13 1806s ok 1 __main__.TestGobjectQuery.test_froots 1806s # gobject-query: /usr/bin/gobject-query 1806s # tmpdir: /tmp/tmpgwm9eee_ 1806s # Running: ['/usr/bin/gobject-query', 'froots'] 1806s # Return code: 0 1806s # Output: 1806s # ├void 1806s # ├GInterface 1806s # │ └GTypePlugin 1806s # ├gchar 1806s # ├guchar 1806s # ├gboolean 1806s # ├gint 1806s # ├guint 1806s # ├glong 1806s # ├gulong 1806s # ├gint64 1806s # ├guint64 1806s # ├GEnum 1806s # ├GFlags 1806s # ├gfloat 1806s # ├gdouble 1806s # ├gchararray 1806s # ├gpointer 1806s # │ └GType 1806s # ├GBoxed 1806s # │ └GValueArray 1806s # ├GParam 1806s # │ ├GParamChar 1806s # │ ├GParamUChar 1806s # │ ├GParamBoolean 1806s # │ ├GParamInt 1806s # │ ├GParamUInt 1806s # │ ├GParamLong 1806s # │ ├GParamULong 1806s # │ ├GParamInt64 1806s # │ ├GParamUInt64 1806s # │ ├GParamUnichar 1806s # │ ├GParamEnum 1806s # │ ├GParamFlags 1806s # │ ├GParamFloat 1806s # │ ├GParamDouble 1806s # │ ├GParamString 1806s # │ ├GParamParam 1806s # │ ├GParamBoxed 1806s # │ ├GParamPointer 1806s # │ ├GParamValueArray 1806s # │ ├GParamObject 1806s # │ ├GParamOverride 1806s # │ ├GParamGType 1806s # │ └GParamVariant 1806s # ├GObject 1806s # └GVariant 1806s # Error: 1806s ok 2 __main__.TestGobjectQuery.test_help 1806s # gobject-query: /usr/bin/gobject-query 1806s # tmpdir: /tmp/tmpu06e73pk 1806s # Running: ['/usr/bin/gobject-query', '--help'] 1806s # Return code: 0 1806s # Output: 1806s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1806s # -r specify root type 1806s # -n don't descend type tree 1806s # -h show help 1806s # -b specify indent string 1806s # -i specify incremental indent string 1806s # -s specify line spacing 1806s # qualifiers: 1806s # froots iterate over fundamental roots 1806s # tree print type tree 1806s # Error: 1806s ok 3 __main__.TestGobjectQuery.test_tree 1806s # gobject-query: /usr/bin/gobject-query 1806s # tmpdir: /tmp/tmp7w7jsa63 1806s # Running: ['/usr/bin/gobject-query', 'tree'] 1806s # Return code: 0 1806s # Output: 1806s # GObject 1806s # Error: 1806s ok 4 __main__.TestGobjectQuery.test_version 1806s # gobject-query: /usr/bin/gobject-query 1806s # tmpdir: /tmp/tmpob8529fr 1806s # Running: ['/usr/bin/gobject-query', '--version'] 1806s # Return code: 0 1806s # Output: 1806s # 2.86.3 1806s # Error: 1806s 1..4 1806s ok - glib/gobject-query.py.test 1806s # Running test: glib/gsubprocess.test 1806s TAP version 14 1806s # random seed: R02Sc7ccf3b4c73eae92a6fc3ca69ddf2872 1806s 1..84 1806s # Start of gsubprocess tests 1806s ok 1 /gsubprocess/noop 1806s ok 2 /gsubprocess/noop-all-to-null 1806s ok 3 /gsubprocess/noop-no-wait 1806s ok 4 /gsubprocess/noop-stdin-inherit 1806s ok 5 /gsubprocess/search-path 1806s ok 6 /gsubprocess/search-path-from-envp 1808s # Executing: glib/gsubprocess.test 1809s ok 7 /gsubprocess/signal 1809s # slow test /gsubprocess/signal executed in 3.55 secs 1809s ok 8 /gsubprocess/exit1 1809s ok 9 /gsubprocess/echo1 1809s ok 10 /gsubprocess/echo-merged 1809s ok 11 /gsubprocess/cat-utf8 1810s ok 12 /gsubprocess/cat-eof 1810s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1813s # Executing: glib/gsubprocess.test 1813s ok 13 /gsubprocess/multi1 1813s # slow test /gsubprocess/multi1 executed in 3.01 secs 1813s ok 14 /gsubprocess/communicate 1816s ok 15 /gsubprocess/terminate 1816s # slow test /gsubprocess/terminate executed in 2.97 secs 1816s ok 16 /gsubprocess/fail-initialization 1816s ok 17 /gsubprocess/env 1816s ok 18 /gsubprocess/cwd 1816s ok 19 /gsubprocess/launcher-close 1816s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1816s ok 20 /gsubprocess/stdout-file 1816s ok 21 /gsubprocess/stdout-fd 1816s ok 22 /gsubprocess/child-setup 1816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1816s ok 23 /gsubprocess/launcher-environment 1816s # Start of exit1 tests 1816s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1816s ok 24 /gsubprocess/exit1/cancel 1816s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1816s ok 25 /gsubprocess/exit1/cancel_in_cb 1816s # End of exit1 tests 1816s # Start of communicate tests 1816s ok 26 /gsubprocess/communicate/cancelled 1816s ok 27 /gsubprocess/communicate/async 1816s ok 28 /gsubprocess/communicate/utf8 1816s # hello world 1816s ok 29 /gsubprocess/communicate/no-pipes 1816s ok 30 /gsubprocess/communicate/separate-stderr 1816s ok 31 /gsubprocess/communicate/stdout-only 1816s # hello world 1816s ok 32 /gsubprocess/communicate/stderr-only 1816s ok 33 /gsubprocess/communicate/stdout-silence 1816s ok 34 /gsubprocess/communicate/nothing 1816s # Start of async tests 1816s ok 35 /gsubprocess/communicate/async/cancelled 1816s # hello world 1816s ok 36 /gsubprocess/communicate/async/no-pipes 1816s ok 37 /gsubprocess/communicate/async/separate-stderr 1816s ok 38 /gsubprocess/communicate/async/stdout-only 1816s # hello world 1816s ok 39 /gsubprocess/communicate/async/stderr-only 1816s ok 40 /gsubprocess/communicate/async/stdout-silence 1816s # Start of cancelled tests 1816s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1816s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1816s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1816s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1816s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1816s # End of cancelled tests 1816s # End of async tests 1816s # Start of utf8 tests 1816s ok 46 /gsubprocess/communicate/utf8/cancelled 1816s ok 47 /gsubprocess/communicate/utf8/async 1816s # hello world 1816s ok 48 /gsubprocess/communicate/utf8/no-pipes 1816s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1816s ok 50 /gsubprocess/communicate/utf8/stdout-only 1816s # hello world 1816s ok 51 /gsubprocess/communicate/utf8/stderr-only 1816s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1816s ok 53 /gsubprocess/communicate/utf8/invalid 1816s # Start of async tests 1816s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1816s # hello world 1816s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1816s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1816s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1816s # hello world 1816s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1816s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1816s ok 60 /gsubprocess/communicate/utf8/async/invalid 1816s # Start of cancelled tests 1816s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1816s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1816s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1816s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1816s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1816s # End of cancelled tests 1816s # End of async tests 1816s # Start of cancelled tests 1816s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1816s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1816s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1816s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1816s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1816s # End of cancelled tests 1816s # End of utf8 tests 1816s # Start of cancelled tests 1816s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1816s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1816s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1816s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1816s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1816s # End of cancelled tests 1816s # End of communicate tests 1816s # Start of env tests 1816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1816s ok 76 /gsubprocess/env/inherit 1816s # End of env tests 1816s # Start of pass-fd tests 1816s ok 77 /gsubprocess/pass-fd/basic 1816s ok 78 /gsubprocess/pass-fd/empty-child-setup 1816s ok 79 /gsubprocess/pass-fd/inherit-fds 1816s # End of pass-fd tests 1816s # Start of fd-conflation tests 1816s ok 80 /gsubprocess/fd-conflation/basic 1816s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1816s ok 82 /gsubprocess/fd-conflation/inherit-fds 1816s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1816s # End of fd-conflation tests 1816s # Start of exit-status tests 1816s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1816s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1816s ok 84 /gsubprocess/exit-status/trapped 1816s # End of exit-status tests 1816s # End of gsubprocess tests 1816s ok - glib/gsubprocess.test 1816s # Running test: glib/cxx-17.test 1816s TAP version 14 1816s # random seed: R02S56f71c131035ca859ba605560c5e3018 1816s 1..2 1816s # Start of gtask tests 1816s # 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. 1816s ok 1 /gtask/name 1816s # Start of name tests 1816s # 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. 1816s ok 2 /gtask/name/macro-wrapper 1816s # End of name tests 1816s # End of gtask tests 1816s ok - glib/cxx-17.test 1816s # Running test: glib/portal-support-flatpak-full.test 1816s ok - glib/portal-support-flatpak-full.test 1816s # Running test: glib/memory-input-stream.test 1816s TAP version 14 1816s # random seed: R02S31efef6547fd92e9ec1c74d94e5f94d0 1816s 1..1 1816s # Start of portal-support tests 1816s # Start of flatpak tests 1816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/home 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/cache 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/system-config2 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/config 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/system-data2 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/data 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/state 1816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/runtime 1816s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_AKC2J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1816s ok 1 /portal-support/flatpak/full 1816s # End of flatpak tests 1816s # End of portal-support tests 1817s ok - glib/memory-input-stream.test 1817s # Running test: glib/gmenumodel.test 1817s TAP version 14 1817s # random seed: R02S1df2933065c64a86de498aabcc48677c 1817s 1..6 1817s # Start of memory-input-stream tests 1817s ok 1 /memory-input-stream/read-chunks 1817s ok 2 /memory-input-stream/async 1817s ok 3 /memory-input-stream/seek 1817s ok 4 /memory-input-stream/truncate 1817s ok 5 /memory-input-stream/read-bytes 1817s ok 6 /memory-input-stream/from-bytes 1817s # End of memory-input-stream tests 1817s TAP version 14 1817s # random seed: R02S214a364466e64f3fcbcbb5ecbd7c38fe 1817s 1..15 1817s # Start of gmenu tests 1817s ok 1 /gmenu/equality 1817s # slow test /gmenu/equality executed in 0.55 secs 1818s ok 2 /gmenu/random 1818s # slow test /gmenu/random executed in 0.69 secs 1818s ok 3 /gmenu/attributes 1818s ok 4 /gmenu/links 1818s ok 5 /gmenu/mutable 1818s ok 6 /gmenu/convenience 1818s ok 7 /gmenu/menuitem 1818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1818s ok 8 /gmenu/input-validation 1818s # Start of dbus tests 1818s # Executing: glib/gmenumodel.test 1819s ok 9 /gmenu/dbus/roundtrip 1819s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1819s ok 10 /gmenu/dbus/subscriptions 1820s ok 11 /gmenu/dbus/threaded 1820s # slow test /gmenu/dbus/threaded executed in 0.84 secs 1820s # Start of peer tests 1821s ok 12 /gmenu/dbus/peer/roundtrip 1821s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1821s ok 13 /gmenu/dbus/peer/subscriptions 1821s # End of peer tests 1821s # Start of export tests 1821s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1821s ok 14 /gmenu/dbus/export/error-handling 1821s # End of export tests 1821s # End of dbus tests 1821s # Start of attributes tests 1821s ok 15 /gmenu/attributes/iterate 1821s # End of attributes tests 1821s # End of gmenu tests 1821s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1821s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1821s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1821s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1821s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1821s ok - glib/gmenumodel.test 1821s # Running test: glib/portal-support-none.test 1821s ok - glib/portal-support-none.test 1821s # Running test: glib/memory-monitor-poll.test 1821s TAP version 14 1821s # random seed: R02S16553d802b5f4e34d98041821822ea88 1821s 1..1 1821s # Start of portal-support tests 1821s ok 1 /portal-support/none 1821s # End of portal-support tests 1821s TAP version 14 1821s # random seed: R02Sc10c4b90a210e02d1848f1c4691332e6 1821s 1..4 1821s # Start of memory-monitor-poll tests 1821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1821s ok 1 /memory-monitor-poll/dup-default 1821s # GLib-GIO-DEBUG: memory free ratio 0.190000 1821s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1821s ok 2 /memory-monitor-poll/critical-event 1821s # GLib-GIO-DEBUG: memory free ratio 0.290000 1821s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1821s ok 3 /memory-monitor-poll/medium-event 1822s ok - glib/memory-monitor-poll.test 1822s # GLib-GIO-DEBUG: memory free ratio 0.390000 1822s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1822s ok 4 /memory-monitor-poll/low-event 1822s # End of memory-monitor-poll tests 1822s # Running test: glib/gdbus-proxy-threads.test 1822s TAP version 14 1822s # random seed: R02Sc5d631c2a7affdc4d2a7385eacb10969 1822s 1..1 1822s # Start of gdbus tests 1822s # Start of proxy tests 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_QN4XJ3/gdbus/proxy/vs-threads/.dirs/runtime 1822s ok - glib/gdbus-proxy-threads.test 1822s ok 1 /gdbus/proxy/vs-threads 1822s # slow test /gdbus/proxy/vs-threads executed in 0.58 secs 1822s # End of proxy tests 1822s # End of gdbus tests 1822s cleaning up pid 14756 1822s # Running test: glib/once.test 1822s TAP version 14 1822s # random seed: R02Sdc29ab3da7858881357141996629a866 1822s 1..5 1822s # Start of once tests 1822s # /once/single-threaded summary: Test g_once() usage from a single thread 1822s ok 1 /once/single-threaded 1822s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1822s ok 2 /once/multi-threaded 1822s # End of once tests 1822s # Start of once-init tests 1822s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1822s ok 3 /once-init/single-threaded 1822s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1822s ok 4 /once-init/multi-threaded 1822s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1822s ok 5 /once-init/string 1822s ok - glib/once.test 1822s # Running test: glib/async-splice-output-stream.test 1822s ok - glib/async-splice-output-stream.test 1822s # End of once-init tests 1822s TAP version 14 1822s # random seed: R02S8903a0cb0238beeb375e2b05f79a2bf8 1822s 1..5 1822s # Start of async-splice tests 1822s ok 1 /async-splice/copy-chunks 1822s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1822s ok 2 /async-splice/copy-chunks-threaded-input 1822s ok 3 /async-splice/copy-chunks-threaded-output 1822s ok 4 /async-splice/copy-chunks-threaded 1822s ok 5 /async-splice/cancelled 1822s # End of async-splice tests 1822s # Running test: glib/proxy-test.test 1822s TAP version 14 1822s # random seed: R02S4aed61744d7fc5b4c46e36c1d3b5862d 1822s 1..11 1822s # Start of proxy tests 1822s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1822s ok 1 /proxy/direct_sync 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac407f50 and GSocketClientAsyncConnectData 0xb3b9ac407470 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac408a70 for GSocketClientAsyncConnectData 0xb3b9ac407470 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok 2 /proxy/direct_async 1822s ok 3 /proxy/single_sync 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408530 and GSocketClientAsyncConnectData 0xb3b9ac407470 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac409bd0 for GSocketClientAsyncConnectData 0xb3b9ac407470 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok 4 /proxy/single_async 1822s ok 5 /proxy/multiple_sync 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408820 and GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac40a110 for GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac40a0b0 for GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok 6 /proxy/multiple_async 1822s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1822s ok 7 /proxy/invalid-uris-sync 1822s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408410 and GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408530 and GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408410 and GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac408ad0 for GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408530 and GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac40a310 for GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok 8 /proxy/invalid-uris-async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac407f50 and GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1822s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac40a430 and GSocketClientAsyncConnectData 0xb3b9ac4089c0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac409a30 for GSocketClientAsyncConnectData 0xb3b9ac4089c0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408410 and GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac408ad0 for GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok 9 /proxy/dns 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac407f50 and GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac408ad0 for GSocketClientAsyncConnectData 0xb3b9ac4087b0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac408410 and GSocketClientAsyncConnectData 0xb3b9ac4085f0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac409a30 for GSocketClientAsyncConnectData 0xb3b9ac4085f0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1822s ok - glib/proxy-test.test 1822s # Running test: glib/giomodule.test 1822s ok - glib/giomodule.test 1822s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb3b9ac407f50 and GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb3b9ac40a110 for GSocketClientAsyncConnectData 0xb3b9ac40a2a0 1822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1822s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1822s ok 10 /proxy/override 1822s ok 11 /proxy/enumerator-ports 1822s # End of proxy tests 1822s TAP version 14 1822s # random seed: R02Seff20834b9ca68aaf0ec5a3ec5b49273 1822s 1..3 1822s # Start of giomodule tests 1822s ok 1 /giomodule/extension-point 1822s ok 2 /giomodule/module-scan-all 1822s ok 3 /giomodule/module-scan-all-with-scope 1822s # End of giomodule tests 1822s # Running test: glib/simple-proxy.test 1822s TAP version 14 1822s # random seed: R02S1784d2b90cdf38f43df79667372330b4 1822s 1..3 1822s # Start of static-proxy tests 1822s ok 1 /static-proxy/uri 1822s ok 2 /static-proxy/socks 1822s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1822s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1822s ok 3 /static-proxy/ignore 1822s # End of static-proxy tests 1822s ok - glib/simple-proxy.test 1822s # Running test: glib/autoptr-girepository.test 1822s TAP version 14 1822s # random seed: R02Se03087898f3e7ab8140177aaa00db4ac 1822s 1..24 1822s # Start of autoptr tests 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/repository/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 1 /autoptr/repository 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/typelib/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 2 /autoptr/typelib 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/base-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 3 /autoptr/base-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/arg-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 4 /autoptr/arg-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callable-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 5 /autoptr/callable-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/callback-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 6 /autoptr/callback-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/constant-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 7 /autoptr/constant-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/enum-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 8 /autoptr/enum-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/field-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 9 /autoptr/field-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/flags-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 10 /autoptr/flags-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/function-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 11 /autoptr/function-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/interface-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 12 /autoptr/interface-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/object-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 13 /autoptr/object-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/property-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 14 /autoptr/property-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/registered-type-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 15 /autoptr/registered-type-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/signal-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 16 /autoptr/signal-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/struct-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 17 /autoptr/struct-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/type-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 18 /autoptr/type-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/union-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 19 /autoptr/union-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/value-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 20 /autoptr/value-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/autoptr/vfunc-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 21 /autoptr/vfunc-info 1822s # End of autoptr tests 1822s # Start of auto tests 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/auto/arg-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 22 /auto/arg-info 1822s ok - glib/autoptr-girepository.test 1822s # Running test: glib/srvtarget.test 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/auto/type-info/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 23 /auto/type-info 1822s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/home 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/cache 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/system-config2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/config 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/system-data2 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/data 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/state 1822s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XK9TJ3/auto/function-invoker/.dirs/runtime 1822s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1822s ok 24 /auto/function-invoker 1822s # End of auto tests 1822s TAP version 14 1822s # random seed: R02Sed8e5e1978da10c1f0bbccb26ebd5f0d 1822s 1..1 1822s # Start of srvtarget tests 1823s ok 1 /srvtarget/srv-target-ordering 1823s # End of srvtarget tests 1823s ok - glib/srvtarget.test 1823s # Running test: glib/logging.test 1823s TAP version 14 1823s # random seed: R02S6bf62083137c07049e3266a7c21b077a 1823s 1..20 1823s # Start of logging tests 1823s # Executing: glib/logging.test 1823s ok 1 /logging/default-handler 1823s # slow test /logging/default-handler executed in 0.55 secs 1823s ok 2 /logging/journald-handler 1823s ok 3 /logging/warnings 1823s ok 4 /logging/fatal-log-mask 1823s ok 5 /logging/always-fatal 1823s # bu-DEBUG: message 1823s # ba-DEBUG: message 1823s # ba-INFO: message 1823s ok 6 /logging/set-handler 1823s ok 7 /logging/print-handler 1823s ok 8 /logging/printerr-handler 1823s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1823s # The Log Message Handler 1823s # 1823s # The Good Fail Message Handler 1823s # 1823s ok 9 /logging/653052 1823s ok 10 /logging/gibberish 1823s # Start of default-handler tests 1823s # Start of subprocess tests 1823s # End of subprocess tests 1823s # End of default-handler tests 1823s # End of logging tests 1823s # Start of structured-logging tests 1823s ok 11 /structured-logging/no-state 1823s ok 12 /structured-logging/some-state 1823s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1823s ok 13 /structured-logging/recursion-overflow 1823s ok 14 /structured-logging/robustness 1823s ok - glib/logging.test 1823s # Running test: glib/deprecated-properties.test 1823s ok 15 /structured-logging/roundtrip1 1823s ok 16 /structured-logging/roundtrip2 1823s ok 17 /structured-logging/roundtrip3 1823s ok 18 /structured-logging/variant1 1823s ok 19 /structured-logging/variant2 1823s ok 20 /structured-logging/set-writer-func-twice 1823s # End of structured-logging tests 1823s TAP version 14 1823s # random seed: R02S827dcddbd8c461a7d534f91d2f430f67 1823s 1..3 1823s # Start of deprecated-properties tests 1823s ok 1 /deprecated-properties/construct 1823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1823s ok 2 /deprecated-properties/default-construct 1823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1823s ok 3 /deprecated-properties/set 1823s # End of deprecated-properties tests 1823s ok - glib/deprecated-properties.test 1823s # Running test: glib/fileutils.test 1823s TAP version 14 1823s # random seed: R02Sc826d9ee0bbc127364b04839f03ac192 1823s 1..27 1823s # Start of fileutils tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/paths/.dirs/runtime 1823s ok 1 /fileutils/paths 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/build-path/.dirs/runtime 1823s ok 2 /fileutils/build-path 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/build-pathv/.dirs/runtime 1823s ok 3 /fileutils/build-pathv 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/build-filename/.dirs/runtime 1823s ok 4 /fileutils/build-filename 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/build-filenamev/.dirs/runtime 1823s ok 5 /fileutils/build-filenamev 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents/.dirs/runtime 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Checking g_mkdir_with_parents() in subdir ./hum/ 1823s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1823s ok 6 /fileutils/mkdir-with-parents 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s ok 7 /fileutils/mkdir-with-parents-permission 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/format-size-for-display/.dirs/runtime 1823s ok 8 /fileutils/format-size-for-display 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/errors/.dirs/runtime 1823s ok 9 /fileutils/errors 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/basename/.dirs/runtime 1823s ok 10 /fileutils/basename 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/get-basename/.dirs/runtime 1823s ok 11 /fileutils/get-basename 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/dirname/.dirs/runtime 1823s ok 12 /fileutils/dirname 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/dir-make-tmp/.dirs/runtime 1823s ok 13 /fileutils/dir-make-tmp 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/file-open-tmp/.dirs/runtime 1823s ok 14 /fileutils/file-open-tmp 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/file-test/.dirs/runtime 1823s ok 15 /fileutils/file-test 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/mkstemp/.dirs/runtime 1823s ok 16 /fileutils/mkstemp 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/mkdtemp/.dirs/runtime 1823s ok 17 /fileutils/mkdtemp 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents/.dirs/runtime 1823s ok 18 /fileutils/get-contents 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/get-contents-large-file/.dirs/runtime 1823s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents/.dirs/runtime 1823s ok 20 /fileutils/set-contents 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/.dirs/runtime 1823s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1823s # Flags 0 and test 0 1823s # Flags 0 and test 1 1823s # Flags 0 and test 2 1823s # Flags 0 and test 3 1823s # Flags 0 and test 4 1823s # Flags 0 and test 5 1823s # Flags 0 and test 6 1823s # Flags 1 and test 0 1823s # Flags 1 and test 1 1823s # Flags 1 and test 2 1823s # Flags 1 and test 3 1823s # Flags 1 and test 4 1823s # Flags 1 and test 5 1823s # Flags 1 and test 6 1823s # Flags 2 and test 0 1823s # Flags 2 and test 1 1823s # Flags 2 and test 2 1823s # Flags 2 and test 3 1823s # Flags 2 and test 4 1823s # Flags 2 and test 5 1823s # Flags 2 and test 6 1823s # Flags 3 and test 0 1823s # Flags 3 and test 1 1823s # Flags 3 and test 2 1823s # Flags 3 and test 3 1823s # Flags 3 and test 4 1823s # Flags 3 and test 5 1823s # Flags 3 and test 6 1823s # Flags 4 and test 0 1823s # Flags 4 and test 1 1823s # Flags 4 and test 2 1823s # Flags 4 and test 3 1823s # Flags 4 and test 4 1823s # Flags 4 and test 5 1823s # Flags 4 and test 6 1823s # Flags 5 and test 0 1823s # Flags 5 and test 1 1823s # Flags 5 and test 2 1823s # Flags 5 and test 3 1823s # Flags 5 and test 4 1823s # Flags 5 and test 5 1823s # Flags 5 and test 6 1823s # Flags 6 and test 0 1823s # Flags 6 and test 1 1823s # Flags 6 and test 2 1823s # Flags 6 and test 3 1823s # Flags 6 and test 4 1823s # Flags 6 and test 5 1823s # Flags 6 and test 6 1823s ok 21 /fileutils/set-contents-full 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/read-link/.dirs/runtime 1823s ok 22 /fileutils/read-link 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/stdio-wrappers/.dirs/runtime 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s ok 23 /fileutils/stdio-wrappers 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/fopen-modes/.dirs/runtime 1823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1823s # Testing fopen() mode 'w' 1823s # Testing fopen() mode 'r' 1823s # Testing fopen() mode 'a' 1823s # Testing fopen() mode 'w+' 1823s # Testing fopen() mode 'r+' 1823s # Testing fopen() mode 'a+' 1823s # Testing fopen() mode 'wb' 1823s # Testing fopen() mode 'rb' 1823s # Testing fopen() mode 'ab' 1823s # Testing fopen() mode 'w+b' 1823s # Testing fopen() mode 'r+b' 1823s # Testing fopen() mode 'a+b' 1823s # Testing fopen() mode 'wb+' 1823s # Testing fopen() mode 'rb+' 1823s # Testing fopen() mode 'ab+' 1823s # Testing fopen() mode 'we' 1823s # Testing fopen() mode 're' 1823s # Testing fopen() mode 'ae' 1823s # Testing fopen() mode 'w+e' 1823s # Testing fopen() mode 'r+e' 1823s # Testing fopen() mode 'a+e' 1823s # Testing fopen() mode 'wbe' 1823s # Testing fopen() mode 'rbe' 1823s # Testing fopen() mode 'abe' 1823s # Testing fopen() mode 'w+be' 1823s # Testing fopen() mode 'r+be' 1823s # Testing fopen() mode 'a+be' 1823s # Testing fopen() mode 'wb+e' 1823s # Testing fopen() mode 'rb+e' 1823s # Testing fopen() mode 'ab+e' 1823s # Testing fopen() mode 'web' 1823s # Testing fopen() mode 'reb' 1823s # Testing fopen() mode 'aeb' 1823s # Testing fopen() mode 'w+eb' 1823s # Testing fopen() mode 'r+eb' 1823s # Testing fopen() mode 'a+eb' 1823s # Testing fopen() mode 'web+' 1823s # Testing fopen() mode 'reb+' 1823s # Testing fopen() mode 'aeb+' 1823s ok 24 /fileutils/fopen-modes 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/clear-fd/.dirs/runtime 1823s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1823s # Will be closed by autocleanup: 3, -42 1823s # Testing error handling 1823s ok 25 /fileutils/clear-fd 1823s # Start of set-contents-full tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1823s ok 26 /fileutils/set-contents-full/read-only-file 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KTMTJ3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1823s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1823s # Flags 0 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 1 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 2 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 3 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 4 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 5 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s # Flags 6 1823s # We do not have CAP_DAC_OVERRIDE or equivalent 1823s ok 27 /fileutils/set-contents-full/read-only-directory 1823s # End of set-contents-full tests 1823s # Start of clear-fd tests 1823s # Start of subprocess tests 1823s # End of subprocess tests 1823s # End of clear-fd tests 1823s # End of fileutils tests 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-9U50J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-AC00J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-1SV0J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-G0B1J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-3V70J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-4WW0J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3/glib-file-set-contents-full-rodir-BQ10J3: Directory not empty 1823s Unable to clean up temporary directory /tmp/test_fileutils_KTMTJ3: Directory not empty 1823s ok - glib/fileutils.test 1823s # Running test: glib/gdbus-connection-slow.test 1823s TAP version 14 1823s # random seed: R02S78f587ccf74cb7cfe45b756b6ba14e73 1823s 1..2 1823s # Start of gdbus tests 1823s # Start of connection tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/flush/.dirs/runtime 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s ok 1 /gdbus/connection/flush 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_PYS0J3/gdbus/connection/large_message/.dirs/runtime 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1824s ok 2 /gdbus/connection/large_message 1824s # End of connection tests 1824s # End of gdbus tests 1824s ok - glib/gdbus-connection-slow.test 1824s # Running test: glib/gdbus-sasl.test 1824s TAP version 14 1824s # random seed: R02S4d616cbc5f23de0a66c5e6a55a0b25ac 1824s 1..1 1824s # Start of gdbus tests 1824s # Start of sasl tests 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_BE4NJ3/gdbus/sasl/server/.dirs/runtime 1824s # New handshake: EXTERNAL with incorrect initial response 1824s # C:“AUTH EXTERNAL 30” 1824s # Expect: /^REJECTED.*$/ 1824s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1824s # New handshake: EXTERNAL without initial response, failing to authenticate 1824s # C:“AUTH EXTERNAL” 1824s # Expect: /^DATA$/ 1824s # S:“DATA” 1824s # C:“DATA 30” 1824s # Expect: /^REJECTED.*$/ 1824s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1824s # New handshake: EXTERNAL with initial response 1824s # C:“AUTH EXTERNAL 31303030” 1824s # Expect: /^OK [0-9a-f]+$/ 1824s # S:“OK 0f03aa8b8e3d01cb6c99854e697b640e” 1824s # New handshake: EXTERNAL without initial response 1824s # C:“AUTH EXTERNAL” 1824s # Expect: /^DATA$/ 1824s # S:“DATA” 1824s # C:“DATA 31303030” 1824s # Expect: /^OK [0-9a-f]+$/ 1824s # S:“OK 0f03aa8b8e3d01cb6c99854e697b640e” 1824s # New handshake: EXTERNAL with empty authorization identity 1824s # C:“AUTH EXTERNAL” 1824s # Expect: /^DATA$/ 1824s # S:“DATA” 1824s # C:“DATA” 1824s # Expect: /^OK [0-9a-f]+$/ 1824s # S:“OK 0f03aa8b8e3d01cb6c99854e697b640e” 1824s # New handshake: EXTERNAL with empty authorization identity and whitespace 1824s # C:“AUTH EXTERNAL” 1824s # Expect: /^DATA$/ 1824s # S:“DATA” 1824s # C:“DATA ” 1824s # Expect: /^OK [0-9a-f]+$/ 1824s # S:“OK 0f03aa8b8e3d01cb6c99854e697b640e” 1824s ok 1 /gdbus/sasl/server 1824s # End of sasl tests 1824s # End of gdbus tests 1824s Running test "liststore-is-a" 1824s ok - glib/gdbus-sasl.test 1824s # Running test: glib/performance-threaded.test 1825s 17214 runs, min/avg/max = 0.057/0.058/0.259 ms 1825s Running test "liststore-interface-peek" 1826s 29696 runs, min/avg/max = 0.033/0.034/0.370 ms 1826s Running test "liststore-interface-peek-same" 1827s 30169 runs, min/avg/max = 0.032/0.033/0.187 ms 1827s ok - glib/performance-threaded.test 1827s # Running test: glib/g-file-info-filesystem-readonly.test 1827s TAP version 14 1827s # random seed: R02S552c537cac0167c95e50b0197b95f63c 1827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1827s 1..2 1827s # Start of g-file-info-filesystem-readonly tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1827s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_W4XOJ3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1827s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1827s # End of g-file-info-filesystem-readonly tests 1827s ok - glib/g-file-info-filesystem-readonly.test 1827s # Running test: glib/portal-support-flatpak-network-only.test 1827s TAP version 14 1827s # random seed: R02S8f23cff64f3c220852d4f7f0453dbf13 1827s 1..1 1827s # Start of portal-support tests 1827s # Start of flatpak tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/runtime 1827s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_MAQOJ3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1827s ok 1 /portal-support/flatpak/network 1827s # End of flatpak tests 1827s # End of portal-support tests 1827s ok - glib/portal-support-flatpak-network-only.test 1827s # Running test: glib/basic-signals.test 1827s TAP version 14 1827s # random seed: R02S75e2d60b77da7b80331190595b0ff0cb 1827s 1..1 1827s # Start of gobject tests 1827s ok 1 /gobject/basic-signals 1827s # End of gobject tests 1827s TAP version 14 1827s # random seed: R02S14f1f44a0b2bc5fda726129f9dc7be9a 1827s 1..8 1827s # Start of monitor tests 1827s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1827s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1827s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s # Start of file tests 1827s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1827s # End of file tests 1827s # End of monitor tests 1827s ok - glib/basic-signals.test 1827s # Running test: glib/testfilemonitor.test 1827s ok - glib/testfilemonitor.test 1827s # Running test: glib/init.test 1827s ok - glib/init.test 1827s # Running test: glib/repository.test 1827s TAP version 14 1827s # random seed: R02S627f4aa4c111b9010556d476d8293047 1827s 1..2 1827s # Start of thread tests 1827s # Start of deprecated tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_3OYMJ3/thread/deprecated/init/.dirs/runtime 1827s ok 1 /thread/deprecated/init 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_3OYMJ3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1827s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1827s # End of deprecated tests 1827s # End of thread tests 1827s TAP version 14 1827s # random seed: R02Sc7ab3dd6fbc363d6df5181e2d3a6de1d 1827s 1..24 1827s # Start of repository tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/basic/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/basic/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/basic/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1827s ok 1 /repository/basic 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/info/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/info/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/info/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/info/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/info/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/info/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/info/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/info/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/info/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/info/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1827s ok 2 /repository/info 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/dependencies/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1827s ok 3 /repository/dependencies 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/arg-info/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1827s ok 4 /repository/arg-info 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/callable-info/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1827s ok 5 /repository/callable-info 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/callback-info/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1827s ok 6 /repository/callback-info 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/char-types/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/char-types/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/char-types/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1827s ok 7 /repository/char-types 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/constructor-return-type/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1827s ok 8 /repository/constructor-return-type 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/enum-info-c-identifier/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1827s ok 9 /repository/enum-info-c-identifier 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/enum-info-static-methods/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/enum-info-static-methods summary: Test an enum with methods 1827s ok 10 /repository/enum-info-static-methods 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/error-quark/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/error-quark summary: Test finding an error quark by error domain 1827s ok 11 /repository/error-quark 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/flags-info-c-identifier/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1827s ok 12 /repository/flags-info-c-identifier 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/fundamental-ref-func/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1827s ok 13 /repository/fundamental-ref-func 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/instance-method-ownership-transfer/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1827s ok 14 /repository/instance-method-ownership-transfer 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/object-gtype-interfaces/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1827s ok 15 /repository/object-gtype-interfaces 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/signal-info-with-array-length-arg/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1827s ok 16 /repository/signal-info-with-array-length-arg 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/type-info-name/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1827s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1827s ok 17 /repository/type-info-name 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1827s ok 18 /repository/vfunc-info-with-no-invoker 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1827s ok 19 /repository/vfunc-info-with-invoker-on-interface 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1827s ok 20 /repository/vfunc-info-with-invoker-on-object 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/find-by-gtype/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/find-by-gtype summary: Test finding a GType 1827s ok - glib/repository.test 1827s # Running test: glib/object-info.test 1827s ok - glib/object-info.test 1827s # Running test: glib/markup-collect.test 1827s ok - glib/markup-collect.test 1827s # Running test: glib/filter-streams.test 1827s ok - glib/filter-streams.test 1827s # Running test: glib/hook.test 1827s ok 21 /repository/find-by-gtype 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/loaded-namespaces/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1827s ok 22 /repository/loaded-namespaces 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/dup_default/.dirs/runtime 1827s ok 23 /repository/dup_default 1827s # Start of base-info tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9HSMJ3/repository/base-info/clear/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1827s ok 24 /repository/base-info/clear 1827s # End of base-info tests 1827s # End of repository tests 1827s TAP version 14 1827s # random seed: R02S1bc40afd1cfa470fc29eaae72475cc86 1827s 1..2 1827s # Start of object-info tests 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_5OLWJ3/object-info/find-method-using-interfaces/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s ok 1 /object-info/find-method-using-interfaces 1827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/home 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/cache 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/config 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/data 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/state 1827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_5OLWJ3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1827s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1827s ok 2 /object-info/find-vfunc-using-interfaces 1827s # End of object-info tests 1827s TAP version 14 1827s # random seed: R02S67e8a26528bce66c6e97494c70a47c6c 1827s 1..21 1827s # Start of markup tests 1827s # Start of collect tests 1827s ok 1 /markup/collect/0 1827s ok 2 /markup/collect/1 1827s ok 3 /markup/collect/2 1827s ok 4 /markup/collect/3 1827s ok 5 /markup/collect/4 1827s ok 6 /markup/collect/5 1827s ok 7 /markup/collect/6 1827s ok 8 /markup/collect/7 1827s ok 9 /markup/collect/8 1827s ok 10 /markup/collect/9 1827s ok 11 /markup/collect/10 1827s ok 12 /markup/collect/11 1827s ok 13 /markup/collect/12 1827s ok 14 /markup/collect/13 1827s ok 15 /markup/collect/14 1827s ok 16 /markup/collect/15 1827s ok 17 /markup/collect/16 1827s ok 18 /markup/collect/17 1827s ok 19 /markup/collect/18 1827s ok 20 /markup/collect/19 1827s ok 21 /markup/collect/cleanup 1827s # End of collect tests 1827s # End of markup tests 1827s TAP version 14 1827s # random seed: R02Secf11baf28131b2640352824f36d9592 1827s 1..4 1827s # Start of filter-stream tests 1827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1827s ok 1 /filter-stream/input 1827s ok 2 /filter-stream/output 1827s ok 3 /filter-stream/async-input 1827s ok 4 /filter-stream/async-output 1827s # End of filter-stream tests 1827s TAP version 14 1827s # random seed: R02S82a7ce43c5c550c639a3f1f1e6c279b0 1827s 1..2 1827s # Start of hook tests 1827s ok 1 /hook/basics 1827s ok 2 /hook/corner-cases 1827s # End of hook tests 1827s ok - glib/hook.test 1827s # Running test: glib/timer.test 1827s TAP version 14 1827s # random seed: R02S9d514811e208196abe59db660f7531f4 1827s 1..10 1827s # Start of timer tests 1827s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1827s ok 2 /timer/stop 1827s ok - glib/timer.test 1827s ok 3 /timer/continue 1827s ok 4 /timer/reset 1827s ok 5 /timer/is_active 1827s # End of timer tests 1827s # Start of timeval tests 1827s ok 6 /timeval/add 1827s ok 7 /timeval/from-iso8601 1827s ok 8 /timeval/to-iso8601 1827s # Start of to-iso8601 tests 1827s ok 9 /timeval/to-iso8601/overflow 1827s # End of to-iso8601 tests 1827s # End of timeval tests 1827s # Start of usleep tests 1827s ok 10 /usleep/with-zero-wait 1827s # End of usleep tests 1827s # Running test: glib/utils-unisolated.test 1827s TAP version 14 1827s # random seed: R02S6976eb025c94e77de24023bd156976ee 1827s 1..1 1827s # Start of utils tests 1827s ok - glib/utils-unisolated.test 1827s # Running test: glib/mainloop.test 1827s ok 1 /utils/xdgdirs 1827s # End of utils tests 1827s TAP version 14 1827s # random seed: R02S2532a1364339be12f73ecabe053c0a81 1827s 1..47 1827s # Start of maincontext tests 1827s ok 1 /maincontext/basic 1827s # Add same-priority sources: 18 1827s # Find each source: 4 1827s # Remove in random order: 40 1827s ok 2 /maincontext/nsources_same_priority 1827s # Add different-priority sources: 22 1827s # Find each source: 4 1827s # Remove in random order: 45 1827s ok 3 /maincontext/nsources_different_priority 1827s # Add sources from threads: 182 1828s # Remove sources from threads: 76 1828s ok 4 /maincontext/nsources_threadpool 1828s ok 5 /maincontext/source_finalization 1828s # /maincontext/idle-once summary: Test g_idle_add_once() works 1828s ok 6 /maincontext/idle-once 1828s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1828s ok 7 /maincontext/timeout-once 1828s # /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. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1828s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1828s # Start of source_finalization_from_source tests 1828s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 9 /maincontext/source_finalization_from_source/0 1828s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 10 /maincontext/source_finalization_from_source/1 1828s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 11 /maincontext/source_finalization_from_source/2 1828s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 12 /maincontext/source_finalization_from_source/3 1828s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 13 /maincontext/source_finalization_from_source/4 1828s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 14 /maincontext/source_finalization_from_source/5 1828s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 15 /maincontext/source_finalization_from_source/6 1828s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 16 /maincontext/source_finalization_from_source/7 1828s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 17 /maincontext/source_finalization_from_source/8 1828s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1828s ok 18 /maincontext/source_finalization_from_source/9 1828s # End of source_finalization_from_source tests 1828s # Start of source_finalization_from_dispatch tests 1828s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1828s ok 19 /maincontext/source_finalization_from_dispatch/0 1828s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1828s ok 20 /maincontext/source_finalization_from_dispatch/1 1828s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1828s ok 21 /maincontext/source_finalization_from_dispatch/2 1828s # End of source_finalization_from_dispatch tests 1828s # End of maincontext tests 1828s # Start of mainloop tests 1828s ok 22 /mainloop/basic 1828s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1828s ok 24 /mainloop/priorities 1828s ok 25 /mainloop/invoke 1828s # slow test /mainloop/invoke executed in 0.50 secs 1828s # Executing: glib/mainloop.test 1829s ok 26 /mainloop/child_sources 1829s # slow test /mainloop/child_sources executed in 1.19 secs 1832s ok 27 /mainloop/recursive_child_sources 1832s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1832s ok 28 /mainloop/recursive_loop_child_sources 1832s ok 29 /mainloop/swapping_child_sources 1832s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1832s ok 30 /mainloop/blocked_child_sources 1833s ok 31 /mainloop/source_time 1833s # slow test /mainloop/source_time executed in 1.00 secs 1833s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1833s ok 32 /mainloop/overflow 1833s ok 33 /mainloop/ready-time 1833s # slow test /mainloop/ready-time executed in 0.50 secs 1833s ok 34 /mainloop/wakeup 1833s ok 35 /mainloop/remove-invalid 1833s ok 36 /mainloop/unref-while-pending 1833s # Executing: glib/mainloop.test 1834s ok 37 /mainloop/unix-fd 1834s # slow test /mainloop/unix-fd executed in 0.56 secs 1834s ok 38 /mainloop/unix-fd-source 1834s ok 39 /mainloop/source-unix-fd-api 1834s ok 40 /mainloop/wait 1834s ok 41 /mainloop/unix-file-poll 1834s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1834s ok 42 /mainloop/unix-fd-priority 1834s ok 43 /mainloop/nfds 1834s ok 44 /mainloop/steal-fd 1835s ok 45 /mainloop/simultaneous-source-context-destruction 1835s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.44 secs 1835s # Start of ownerless-polling tests 1835s ok 46 /mainloop/ownerless-polling/attach-first 1835s ok 47 /mainloop/ownerless-polling/pop-first 1835s # End of ownerless-polling tests 1835s # End of mainloop tests 1835s ok - glib/mainloop.test 1835s # Running test: glib/dynamictype.test 1835s TAP version 14 1835s ok - glib/dynamictype.test 1835s # random seed: R02S742c21b4de6ab5a42f2bd3d3cce39094 1835s 1..2 1835s # Start of gobject tests 1835s ok 1 /gobject/dynamic-type 1835s # Start of dynamic-type tests 1835s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1835s ok 2 /gobject/dynamic-type/query 1835s # End of dynamic-type tests 1835s # End of gobject tests 1835s # Running test: glib/data-output-stream.test 1835s TAP version 14 1835s # random seed: R02S8a044add95d2107d81ea46b05ce63be8 1835s 1..7 1835s # Start of data-output-stream tests 1835s ok 1 /data-output-stream/basic 1835s ok 2 /data-output-stream/write-lines-LF 1835s ok 3 /data-output-stream/write-lines-CR 1835s ok 4 /data-output-stream/write-lines-CR-LF 1835s ok - glib/data-output-stream.test 1835s # Running test: glib/gdbus-subscribe.test 1835s ok 5 /data-output-stream/write-int 1835s ok 6 /data-output-stream/seek 1835s ok 7 /data-output-stream/truncate 1835s # End of data-output-stream tests 1835s TAP version 14 1835s # random seed: R02S8284a182720f7b7ff73eef092059f984 1835s 1..24 1835s # Start of gdbus tests 1835s # Start of subscribe tests 1835s # Start of conn tests 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/simple/.dirs/runtime 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1835s # Step 0: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 2: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 2 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 1 /gdbus/subscribe/conn/simple 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1835s # Step 0: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: service 2 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 4: emitting signal 1835s # Sender: service 2 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 1 1835s # Signal received from service 2 :1.2 1835s # Signal received from service 2 :1.2 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 2 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Signal received from service 2 :1.2 1835s # Signal received from service 2 :1.2 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: (any) 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 2: adding subscription 1835s # Sender: (any) 1835s # Path: (any) 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 3: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 4: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 3 /gdbus/subscribe/conn/match_twice 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1835s # Step 0: adding subscription 1835s # Sender: :0.this.had.better.not.exist 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /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 1835s # Step 0: claiming bus name 1835s # Name: org.gtk.Test.AlreadyOwned 1835s # Owner: service 1835s # Step 1: adding subscription 1835s # Sender: org.gtk.Test.AlreadyOwned 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 2: adding subscription 1835s # Sender: org.gtk.Test.OwnedLater 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 3: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 4: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 5: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 6: claiming bus name 1835s # Name: org.gtk.Test.OwnedLater 1835s # Owner: service 1835s # Step 7: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 5 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 7 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 7 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1835s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1835s # Step 0: adding subscription 1835s # Sender: org.freedesktop.DBus 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # String argument 0: would I lie to you? 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # Waiting for signal to reach message bus 1835s # Step 3: claiming bus name 1835s # Name: org.gtk.Test.OwnedLater 1835s # Owner: service 1835s # Signal received from message bus org.freedesktop.DBus 1835s # Signal received from (unused) org.freedesktop.DBus via connection 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1835s # Step 0: claiming bus name 1835s # Name: org.gtk.Test.AlreadyOwned 1835s # Owner: service 1835s # Step 1: adding subscription 1835s # Sender: org.gtk.Test.AlreadyOwned 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Immediately unsubscribing 1835s # Waiting for AddMatch to be processed 1835s # Step 2: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1835s # End of conn tests 1835s # Start of proxy tests 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/simple/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1835s # Step 0: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 2: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 9 /gdbus/subscribe/proxy/simple 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1835s # Step 0: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: service 2 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 4: emitting signal 1835s # Sender: service 2 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: (any) 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 2: adding subscription 1835s # Sender: (any) 1835s # Path: (any) 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 3: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 4: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 11 /gdbus/subscribe/proxy/match_twice 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1835s # Step 0: adding subscription 1835s # Sender: :0.this.had.better.not.exist 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /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 1835s # Step 0: claiming bus name 1835s # Name: org.gtk.Test.AlreadyOwned 1835s # Owner: service 1835s # Step 1: adding subscription 1835s # Sender: org.gtk.Test.AlreadyOwned 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 2: adding subscription 1835s # Sender: org.gtk.Test.OwnedLater 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 3: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 4: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 5: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 6: claiming bus name 1835s # Name: org.gtk.Test.OwnedLater 1835s # Owner: service 1835s # Step 7: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 5 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 7 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 7 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1835s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1835s # Step 0: adding subscription 1835s # Sender: org.freedesktop.DBus 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # String argument 0: would I lie to you? 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # Waiting for signal to reach message bus 1835s # Step 3: claiming bus name 1835s # Name: org.gtk.Test.OwnedLater 1835s # Owner: service 1835s # Signal received from message bus org.freedesktop.DBus 1835s # Signal received from (unused) org.freedesktop.DBus via proxy 1835s # Path: /org/freedesktop/DBus 1835s # Interface: org.freedesktop.DBus 1835s # Member: NameOwnerChanged 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1835s # Step 0: claiming bus name 1835s # Name: org.gtk.Test.AlreadyOwned 1835s # Owner: service 1835s # Step 1: adding subscription 1835s # Sender: org.gtk.Test.AlreadyOwned 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 2: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 2 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1835s # End of proxy tests 1835s # Start of parallel tests 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/simple/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1835s # Step 0: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 2: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 2 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 17 /gdbus/subscribe/parallel/simple 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1835s # Step 0: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: service 2 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 4: emitting signal 1835s # Sender: service 2 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 1 1835s # Signal received from service 2 :1.2 1835s # Signal received from service 2 :1.2 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 2 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Signal received from service 2 :1.2 1835s # Signal received from service 2 :1.2 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: adding subscription 1835s # Sender: (any) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: (any) 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 2: adding subscription 1835s # Sender: (any) 1835s # Path: (any) 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Cannot subscribe via proxy: no bus name 1835s # Waiting for AddMatch to be processed 1835s # Step 3: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 4: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 4 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1835s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 19 /gdbus/subscribe/parallel/match_twice 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1835s # Step 0: adding subscription 1835s # Sender: service :1.1 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 3: emitting signal 1835s # Sender: service 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via connection 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Signal received from service :1.1 1835s # Signal received from service :1.1 via proxy 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Sent in step: 3 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1835s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1835s # Step 0: adding subscription 1835s # Sender: :0.this.had.better.not.exist 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: (any) 1835s # String argument 0: (any) 1835s # Flags: 0 1835s # Subscribing via connection 1835s # Subscribing via proxy 1835s # Waiting for AddMatch to be processed 1835s # Step 1: emitting signal 1835s # Sender: attacker 1835s # Destination: (broadcast) 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Step 2: emitting signal 1835s # Sender: attacker 1835s # Destination: subscriber :1.0 1835s # Path: /org/gtk/GDBus/ExampleInterface 1835s # Interface: org.gtk.GDBus.ExampleInterface 1835s # Member: Foo 1835s # Argument 0: (not a string) 1835s # Waiting for signal to reach message bus 1835s # Received Finished signal from subscriber :1.0 1835s # Received Finished signal from service :1.1 1835s # Received Finished signal from service 2 :1.2 1835s # Received Finished signal from attacker :1.3 1835s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1835s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1835s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1835s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1835s # subscriber is :1.0 1835s # service is :1.1 1835s # service 2 is :1.2 1835s # attacker is :1.3 1835s # Waiting for AddMatch to be processed 1835s # /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 1835s # Step 0: claiming bus name 1835s # Name: org.gtk.Test.AlreadyOwned 1835s # Owner: service 1836s # Step 1: adding subscription 1836s # Sender: org.gtk.Test.AlreadyOwned 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: (any) 1836s # String argument 0: (any) 1836s # Flags: 0 1836s # Subscribing via connection 1836s # Subscribing via proxy 1836s # Waiting for AddMatch to be processed 1836s # Step 2: adding subscription 1836s # Sender: org.gtk.Test.OwnedLater 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: (any) 1836s # String argument 0: (any) 1836s # Flags: 0 1836s # Subscribing via connection 1836s # Subscribing via proxy 1836s # Waiting for AddMatch to be processed 1836s # Step 3: emitting signal 1836s # Sender: attacker 1836s # Destination: (broadcast) 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Waiting for signal to reach message bus 1836s # Step 4: emitting signal 1836s # Sender: attacker 1836s # Destination: subscriber :1.0 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Waiting for signal to reach message bus 1836s # Step 5: emitting signal 1836s # Sender: service 1836s # Destination: (broadcast) 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Waiting for signal to reach message bus 1836s # Step 6: claiming bus name 1836s # Name: org.gtk.Test.OwnedLater 1836s # Owner: service 1836s # Step 7: emitting signal 1836s # Sender: service 1836s # Destination: (broadcast) 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Waiting for signal to reach message bus 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via connection 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 5 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via proxy 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 5 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via connection 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 7 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via proxy 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 7 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via connection 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 7 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via proxy 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 7 1836s # Received Finished signal from subscriber :1.0 1836s # Received Finished signal from service :1.1 1836s # Received Finished signal from service 2 :1.2 1836s # Received Finished signal from attacker :1.3 1836s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1836s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1836s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1836s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1836s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1836s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1836s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1836s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1836s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1836s # subscriber is :1.0 1836s # service is :1.1 1836s # service 2 is :1.2 1836s # attacker is :1.3 1836s # Waiting for AddMatch to be processed 1836s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1836s # Step 0: adding subscription 1836s # Sender: org.freedesktop.DBus 1836s # Path: /org/freedesktop/DBus 1836s # Interface: org.freedesktop.DBus 1836s # Member: (any) 1836s # String argument 0: (any) 1836s # Flags: 0 1836s # Subscribing via connection 1836s # Subscribing via proxy 1836s # Waiting for AddMatch to be processed 1836s # Step 1: emitting signal 1836s # Sender: attacker 1836s # Destination: (broadcast) 1836s # Path: /org/freedesktop/DBus 1836s # Interface: org.freedesktop.DBus 1836s # Member: NameOwnerChanged 1836s # String argument 0: would I lie to you? 1836s # Waiting for signal to reach message bus 1836s # Step 2: emitting signal 1836s # Sender: attacker 1836s # Destination: subscriber :1.0 1836s # Path: /org/freedesktop/DBus 1836s # Interface: org.freedesktop.DBus 1836s # Member: NameOwnerChanged 1836s # Waiting for signal to reach message bus 1836s # Step 3: claiming bus name 1836s # Name: org.gtk.Test.OwnedLater 1836s # Owner: service 1836s # Signal received from message bus org.freedesktop.DBus 1836s # Signal received from (unused) org.freedesktop.DBus via connection 1836s # Path: /org/freedesktop/DBus 1836s # Interface: org.freedesktop.DBus 1836s # Member: NameOwnerChanged 1836s # Signal received from message bus org.freedesktop.DBus 1836s # Signal received from (unused) org.freedesktop.DBus via proxy 1836s # Path: /org/freedesktop/DBus 1836s # Interface: org.freedesktop.DBus 1836s # Member: NameOwnerChanged 1836s # Received Finished signal from subscriber :1.0 1836s # Received Finished signal from service :1.1 1836s # Received Finished signal from service 2 :1.2 1836s # Received Finished signal from attacker :1.3 1836s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1836s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1836s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1836s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1836s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1836s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_Z3LTJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1836s # subscriber is :1.0 1836s # service is :1.1 1836s # service 2 is :1.2 1836s # attacker is :1.3 1836s # Waiting for AddMatch to be processed 1836s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1836s # Step 0: claiming bus name 1836s # Name: org.gtk.Test.AlreadyOwned 1836s # Owner: service 1836s # Step 1: adding subscription 1836s # Sender: org.gtk.Test.AlreadyOwned 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: (any) 1836s # String argument 0: (any) 1836s # Flags: 0 1836s # Subscribing via connection 1836s # Immediately unsubscribing 1836s # Subscribing via proxy 1836s # Waiting for AddMatch to be processed 1836s # Step 2: emitting signal 1836s # Sender: service 1836s # Destination: (broadcast) 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Waiting for signal to reach message bus 1836s # Signal received from service :1.1 1836s # Signal received from service :1.1 via proxy 1836s # Path: /org/gtk/GDBus/ExampleInterface 1836s # Interface: org.gtk.GDBus.ExampleInterface 1836s # Member: Foo 1836s # Argument 0: (not a string) 1836s # Sent in step: 2 1836s # Received Finished signal from subscriber :1.0 1836s # Received Finished signal from service :1.1 1836s # Received Finished signal from service 2 :1.2 1836s # Received Finished signal from attacker :1.3 1836s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1836s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1836s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1836s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1836s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1836s # End of parallel tests 1836s # End of subscribe tests 1836s # End of gdbus tests 1836s ok - glib/gdbus-subscribe.test 1836s # Running test: glib/signal-handler.test 1836s TAP version 14 1836s ok - glib/signal-handler.test 1836s # random seed: R02S9a1b0efcd77889bacc2bdb9e86aa59b9 1836s 1..7 1836s # Start of signal tests 1836s # Start of handler tests 1836s # min perf: connected 1 handlers in 0.000 seconds 1836s ok 1 /signal/handler/connect-many 1836s # min perf: disconnected 1 handlers in 0.000 seconds 1836s ok 2 /signal/handler/disconnect-many-ordered 1836s # min perf: disconnected 1 handlers in 0.000 seconds 1836s ok 3 /signal/handler/disconnect-many-inverse 1836s # min perf: disconnected 1 handlers in 0.000 seconds 1836s ok 4 /signal/handler/disconnect-many-random 1836s # min perf: disconnected 1 handlers in 0.000 seconds 1836s ok 5 /signal/handler/disconnect-2-signals 1836s # min perf: disconnected 1 handlers in 0.000 seconds 1836s ok 6 /signal/handler/disconnect-2-objects 1836s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1836s ok 7 /signal/handler/block-many 1836s # End of handler tests 1836s # End of signal tests 1836s # Running test: glib/ir-parser.test 1836s TAP version 14 1836s # random seed: R02S167e5b89cbffb607282ca0831262d973 1836s 1..1 1836s # Start of ir-parser tests 1836s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1836s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: popping node 1 dummy 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1836s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: popping node 1 dummy 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: 1836s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1836s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error pushed new thread with id:9, number of threads:1, unprocessed:1 1931s # [unsorted] ===> pushed new thread with id:93, number of threads:2, unprocessed:1 1931s # [unsorted] ===> pushed new thread with id:86, number of threads:3, unprocessed:2 1931s # [unsorted] ===> pushed new thread with id:64, number of threads:4, unprocessed:3 1931s # [unsorted] ===> pushed new thread with id:59, number of threads:5, unprocessed:3 1931s # [unsorted] ===> pushed new thread with id:73, number of threads:6, unprocessed:4 1931s # [unsorted] ===> pushed new thread with id:42, number of threads:7, unprocessed:4 1931s # [unsorted] ===> pushed new thread with id:82, number of threads:8, unprocessed:2 1931s # [unsorted] ===> pushed new thread with id:43, number of threads:9, unprocessed:1 1931s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:0 1931s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:1 1931s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:2 1931s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:3 1931s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:4 1931s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:5 1931s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:6 1931s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:7 1931s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:8 1931s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:9 1931s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:10 1931s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:11 1931s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:12 1931s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:13 1931s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:14 1931s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:15 1931s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:16 1931s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:17 1931s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:18 1931s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:19 1931s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:20 1931s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:21 1931s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:22 1931s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:23 1931s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 1931s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:25 1931s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:26 1931s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:27 1931s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:28 1931s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:29 1931s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:30 1931s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:31 1931s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:32 1931s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:33 1931s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:34 1931s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:35 1931s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:36 1931s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:37 1931s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:38 1931s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:39 1931s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:40 1931s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:41 1931s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:42 1931s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:43 1931s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:44 1931s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:45 1931s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:46 1931s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:47 1931s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:48 1931s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:49 1931s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:50 1931s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:51 1931s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:52 1931s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 1931s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:54 1931s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:55 1931s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:56 1931s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:57 1931s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:58 1931s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:59 1931s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:60 1931s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:61 1931s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:62 1931s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:63 1931s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:64 1931s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:65 1931s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:66 1931s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:67 1931s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:68 1931s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:69 1931s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:70 1931s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:71 1931s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:72 1931s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:73 1931s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:74 1931s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:75 1931s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:76 1931s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:77 1931s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:78 1931s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:79 1931s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:80 1931s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:81 1931s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:82 1931s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:83 1931s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:84 1931s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:85 1931s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:86 1931s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:87 1931s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:88 1931s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:89 1931s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:90 1931s ok 4 /threadpool/no-sort 1931s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:1 1931s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:2 1931s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:3 1931s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:4 1931s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:5 1931s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:6 1931s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:7 1931s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:8 1931s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:9 1931s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:10 1931s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:11 1931s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:12 1931s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:13 1931s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:14 1931s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:15 1931s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:16 1931s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:17 1931s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:18 1931s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:19 1931s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:20 1931s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:21 1931s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:22 1931s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:23 1931s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:24 1931s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:25 1931s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:26 1931s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:27 1931s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:28 1931s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:29 1931s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:30 1931s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:31 1931s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:32 1931s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:33 1931s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:34 1931s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:35 1931s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:36 1931s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:37 1931s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 1931s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:39 1931s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:40 1931s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:41 1931s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:42 1931s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:43 1931s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:44 1931s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:45 1931s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:46 1931s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:47 1931s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:48 1931s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:49 1931s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:50 1931s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:51 1931s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:52 1931s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:53 1931s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:54 1931s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1931s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:56 1931s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:57 1931s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:58 1931s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:59 1931s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:60 1931s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:61 1931s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:62 1931s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:63 1931s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:64 1931s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:65 1931s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:66 1931s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:67 1931s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:68 1931s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:69 1931s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:70 1931s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:71 1931s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:72 1931s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:73 1931s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:74 1931s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:75 1931s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:76 1931s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:77 1931s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:78 1931s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:79 1931s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:80 1931s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:81 1931s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:82 1931s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:83 1931s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:84 1931s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:85 1931s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:86 1931s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:87 1931s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:88 1931s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:89 1931s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:90 1931s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:91 1931s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:92 1931s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:93 1931s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:94 1931s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:95 1931s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:96 1931s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:97 1931s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:98 1931s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 1931s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:100 1931s # Starting thread pool processing 1931s ok 5 /threadpool/sort 1932s ok 6 /threadpool/stop-unused-multiple 1932s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1932s # Pool idle thread count: 0, unprocessed jobs: 48 1932s # Pool idle thread count: 0, unprocessed jobs: 0 1932s # Pool idle thread count: 0, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s Executing: glib/thread-pool-slow.test 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1940s # Pool idle thread count: 10, unprocessed jobs: 0 1940s # Pool idle thread count: 10, unprocessed jobs: 0 1940s # Pool idle thread count: 10, unprocessed jobs: 0 1940s # Pool idle thread count: 10, unprocessed jobs: 0 1941s # Pool idle thread count: 10, unprocessed jobs: 2 1941s # Pool idle thread count: 10, unprocessed jobs: 2 1941s # Pool idle thread count: 8, unprocessed jobs: 0 1941s # Pool idle thread count: 8, unprocessed jobs: 0 1941s Executing: glib/thread-pool-slow.test 1941s # Pool idle thread count: 10, unprocessed jobs: 0 1941s # Pool idle thread count: 10, unprocessed jobs: 0 1942s # Pool idle thread count: 10, unprocessed jobs: 0 1942s # Pool idle thread count: 10, unprocessed jobs: 0 1942s # Pool idle thread count: 10, unprocessed jobs: 0 1942s # Pool idle thread count: 10, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s Executing: glib/thread-pool-slow.test 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1948s # Pool idle thread count: 2, unprocessed jobs: 0 1948s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1949s # Pool idle thread count: 2, unprocessed jobs: 0 1950s # Pool idle thread count: 2, unprocessed jobs: 0 1950s # Pool idle thread count: 2, unprocessed jobs: 0 1950s # Pool idle thread count: 2, unprocessed jobs: 0 1950s # Pool idle thread count: 2, unprocessed jobs: 0 1951s # Pool idle thread count: 2, unprocessed jobs: 0 1951s # Pool idle thread count: 2, unprocessed jobs: 0 1951s Executing: glib/thread-pool-slow.test 1951s ok 7 /threadpool/idle-time 1951s # slow test /threadpool/idle-time executed in 19.52 secs 1951s # End of threadpool tests 1951s PASS: glib/thread-pool-slow.test 1951s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3652 1952s autopkgtest [13:45:50]: test thread-pool-slow: -----------------------] 1952s thread-pool-slow PASS 1952s autopkgtest [13:45:50]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1953s autopkgtest [13:45:51]: test threadtests: preparing testbed 1953s Reading package lists... 1953s Building dependency tree... 1953s Reading state information... 1953s Solving dependencies... 1954s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1954s autopkgtest [13:45:52]: test threadtests: [----------------------- 1955s Running test: glib/threadtests.test 1955s TAP version 14 1955s # random seed: R02S7eebf711a31c4f33d973e6d0c52197f3 1955s 1..5 1955s # Start of GObject tests 1955s ok 1 /GObject/threaded-object-init 1955s ok 2 /GObject/threaded-weak-ref 1955s # slow test /GObject/threaded-weak-ref executed in 0.69 secs 1955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1955s # /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 1956s ok 3 /GObject/threaded-toggle-notify 1956s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1956s # Start of threaded-weak-ref tests 1956s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1956s # /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. 1956s ok 5 /GObject/threaded-weak-ref/on-finalization 1956s # End of threaded-weak-ref tests 1956s # End of GObject tests 1956s PASS: glib/threadtests.test 1956s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.5s; maxrss=3568 1956s autopkgtest [13:45:54]: test threadtests: -----------------------] 1956s autopkgtest [13:45:54]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1956s threadtests PASS 1957s autopkgtest [13:45:55]: test timeout: preparing testbed 1957s Reading package lists... 1957s Building dependency tree... 1957s Reading state information... 1957s Solving dependencies... 1958s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1959s autopkgtest [13:45:57]: test timeout: [----------------------- 1959s Running test: glib/timeout.test 1959s TAP version 14 1959s # random seed: R02Sde5f1a46bb0cc5d83b4545fff1560cef 1959s 1..5 1959s # Start of timeout tests 1959s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1961s ok 1 /timeout/seconds 1961s # slow test /timeout/seconds executed in 2.10 secs 1963s ok 2 /timeout/seconds-once 1963s # slow test /timeout/seconds-once executed in 2.10 secs 1963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1964s Executing: glib/timeout.test 1965s ok 3 /timeout/weeks-overflow 1965s # slow test /timeout/weeks-overflow executed in 2.10 secs 1965s ok 4 /timeout/far-future-ready-time 1969s Executing: glib/timeout.test 1974s Executing: glib/timeout.test 1975s ok 5 /timeout/rounding 1975s # slow test /timeout/rounding executed in 10.08 secs 1975s # End of timeout tests 1975s PASS: glib/timeout.test 1975s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2876 1976s autopkgtest [13:46:14]: test timeout: -----------------------] 1976s timeout PASS 1976s autopkgtest [13:46:14]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1976s autopkgtest [13:46:14]: test timer: preparing testbed 1976s Reading package lists... 1977s Building dependency tree... 1977s Reading state information... 1977s Solving dependencies... 1977s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1978s autopkgtest [13:46:16]: test timer: [----------------------- 1979s Running test: glib/timer.test 1979s TAP version 14 1979s # random seed: R02S89178950859b28385ea9cb7560b0b048 1979s 1..10 1979s # Start of timer tests 1979s ok 1 /timer/basic 1979s ok 2 /timer/stop 1979s ok 3 /timer/continue 1979s ok 4 /timer/reset 1979s ok 5 /timer/is_active 1979s # End of timer tests 1979s # Start of timeval tests 1979s ok 6 /timeval/add 1979s ok 7 /timeval/from-iso8601 1979s ok 8 /timeval/to-iso8601 1979s # Start of to-iso8601 tests 1979s ok 9 /timeval/to-iso8601/overflow 1979s # End of to-iso8601 tests 1979s # End of timeval tests 1979s # Start of usleep tests 1979s ok 10 /usleep/with-zero-wait 1979s # End of usleep tests 1979s PASS: glib/timer.test 1979s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2884 1979s autopkgtest [13:46:17]: test timer: -----------------------] 1979s autopkgtest [13:46:17]: test timer: - - - - - - - - - - results - - - - - - - - - - 1979s timer PASS 1980s autopkgtest [13:46:18]: test 1065022-futureproofing: preparing testbed 2014s Creating nova instance adt-resolute-arm64-glib2.0-20260129-122419-juju-7f2275-prod-proposed-migration-environment-20-c68bdfb6-d772-471a-b88c-0ab3ad78bd99 from image adt/ubuntu-resolute-arm64-server-20260128.img (UUID 10e9cd8e-6c32-4761-bbae-8581f2bd4c6f)... 2068s autopkgtest [13:47:46]: testbed dpkg architecture: arm64 2068s autopkgtest [13:47:46]: testbed apt version: 3.1.14 2069s autopkgtest [13:47:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2069s autopkgtest [13:47:47]: testbed release detected to be: resolute 2070s autopkgtest [13:47:48]: updating testbed package index (apt update) 2070s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 2070s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 2070s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 2070s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 2070s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 2071s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 2071s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 2071s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 2071s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [119 kB] 2071s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [4268 B] 2071s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [12.3 kB] 2071s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 2071s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [781 kB] 2071s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [21.9 kB] 2071s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8012 B] 2071s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 2074s Fetched 2280 kB in 2s (1427 kB/s) 2075s Reading package lists... 2075s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 2075s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 2075s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 2075s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 2076s Reading package lists... 2076s Reading package lists... 2076s Building dependency tree... 2076s Reading state information... 2077s Calculating upgrade... 2077s The following packages will be upgraded: 2077s liburcu8t64 libxcb1 tzdata 2077s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2077s Need to get 313 kB of archives. 2077s After this operation, 65.5 kB disk space will be freed. 2077s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata all 2025c-3ubuntu3 [199 kB] 2077s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 liburcu8t64 arm64 0.15.6-1 [64.8 kB] 2077s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb1 arm64 1.17.0-2ubuntu1 [49.2 kB] 2077s dpkg-preconfigure: unable to re-open stdin: No such file or directory 2077s Fetched 313 kB in 0s (20.3 MB/s) 2078s (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 ... 135255 files and directories currently installed.) 2078s Preparing to unpack .../tzdata_2025c-3ubuntu3_all.deb ... 2078s Unpacking tzdata (2025c-3ubuntu3) over (2025c-3ubuntu2) ... 2078s Preparing to unpack .../liburcu8t64_0.15.6-1_arm64.deb ... 2078s Unpacking liburcu8t64:arm64 (0.15.6-1) over (0.15.5-1) ... 2078s Preparing to unpack .../libxcb1_1.17.0-2ubuntu1_arm64.deb ... 2078s Unpacking libxcb1:arm64 (1.17.0-2ubuntu1) over (1.17.0-2build1) ... 2078s Setting up liburcu8t64:arm64 (0.15.6-1) ... 2078s Setting up libxcb1:arm64 (1.17.0-2ubuntu1) ... 2078s Setting up tzdata (2025c-3ubuntu3) ... 2078s 2078s Current default time zone: 'Etc/UTC' 2078s Local time is now: Thu Jan 29 13:47:56 UTC 2026. 2078s Universal Time is now: Thu Jan 29 13:47:56 UTC 2026. 2078s Run 'dpkg-reconfigure tzdata' if you wish to change it. 2078s 2078s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2078s autopkgtest [13:47:56]: upgrading testbed (apt dist-upgrade and autopurge) 2078s Reading package lists... 2079s Building dependency tree... 2079s Reading state information... 2079s Calculating upgrade... 2079s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2080s Reading package lists... 2080s Building dependency tree... 2080s Reading state information... 2080s Solving dependencies... 2080s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2083s Reading package lists... 2083s Building dependency tree... 2083s Reading state information... 2083s Solving dependencies... 2084s The following NEW packages will be installed: 2084s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2084s libdconf1 2084s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2084s Need to get 140 kB of archives. 2084s After this operation, 703 kB of additional disk space will be used. 2084s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libdconf1 arm64 0.49.0-4 [40.9 kB] 2084s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-service arm64 0.49.0-4 [27.2 kB] 2084s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-gsettings-backend arm64 0.49.0-4 [22.0 kB] 2084s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 dpkg-repack all 1.54build1 [11.2 kB] 2084s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 2085s Fetched 140 kB in 1s (255 kB/s) 2085s Selecting previously unselected package libdconf1:arm64. 2085s (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 ... 135255 files and directories currently installed.) 2085s Preparing to unpack .../libdconf1_0.49.0-4_arm64.deb ... 2085s Unpacking libdconf1:arm64 (0.49.0-4) ... 2085s Selecting previously unselected package dconf-service. 2085s Preparing to unpack .../dconf-service_0.49.0-4_arm64.deb ... 2085s Unpacking dconf-service (0.49.0-4) ... 2085s Selecting previously unselected package dconf-gsettings-backend:arm64. 2085s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_arm64.deb ... 2085s Unpacking dconf-gsettings-backend:arm64 (0.49.0-4) ... 2085s Selecting previously unselected package dpkg-repack. 2085s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 2085s Unpacking dpkg-repack (1.54build1) ... 2085s Selecting previously unselected package gsettings-desktop-schemas. 2085s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 2085s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 2085s Setting up dpkg-repack (1.54build1) ... 2085s Setting up libdconf1:arm64 (0.49.0-4) ... 2085s Setting up dconf-service (0.49.0-4) ... 2085s Setting up dconf-gsettings-backend:arm64 (0.49.0-4) ... 2085s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 2085s Processing triggers for man-db (2.13.1-1) ... 2085s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 2085s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2093s autopkgtest [13:48:11]: test 1065022-futureproofing: [----------------------- 2093s + export DEBIAN_FRONTEND=noninteractive 2093s + n=0 2093s + failed=0 2093s + binary_package=libglib2.0-0t64 2093s + future_binary_package=libglib2.0-0xyz 2093s + pwd 2093s + srcdir=/tmp/autopkgtest.WXQj7X/build.M07/src 2093s + mktemp -d 2093s + tmpdir=/tmp/tmp.tbkZJH8qvf 2093s + cd /tmp/tmp.tbkZJH8qvf 2093s + exec 2093s + [ -e /tmp/autopkgtest.WXQj7X/build.M07/src/debian/tests/manual/local-1065022.sources ] 2093s + dpkg-query -W dpkg-repack 2093s dpkg-repack 1.54build1 2093s + dpkg-query -s libglib2.0-0t64 2093s Package: libglib2.0-0t64 2093s Status: install ok installed 2093s Priority: important 2093s Section: libs 2093s Installed-Size: 4802 2093s Maintainer: Ubuntu Developers 2093s Architecture: arm64 2093s Multi-Arch: same 2093s Source: glib2.0 2093s Version: 2.86.3-4 2093s Replaces: libglib2.0-0 (<< 2.80.0-7~) 2093s 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) 2093s 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) 2093s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 2093s Suggests: low-memory-monitor 2093s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 2093s Description: GLib library of C routines 2093s GLib is a library containing many useful C routines for things such 2093s as trees, hashes, lists, and strings. It is a useful general-purpose 2093s C library used by projects such as GTK+, GIMP, and GNOME. 2093s . 2093s This package contains the shared libraries. 2093s Original-Maintainer: Debian GNOME Maintainers 2093s Homepage: https://gitlab.gnome.org/GNOME/glib 2093s + dpkg-query -W -f ${Version} libglib2.0-0t64 2093s + binary_version=2.86.3-4 2093s + dpkg-repack --generate libglib2.0-0t64 2093s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2093s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.y4g56w for libglib2.0-0t64 2093s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.y4g56w ." 2093s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.y4g56w/DEBIAN/control 2093s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.y4g56w/DEBIAN/control 2093s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.y4g56w/DEBIAN/control 2093s + 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.y4g56w/DEBIAN/control 2093s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.y4g56w libglib2.0-0xyz.deb 2093s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2095s + dpkg-deb --info libglib2.0-0xyz.deb 2095s new Debian package, version 2.0. 2095s size 1584406 bytes: control archive=25785 bytes. 2095s 1218 bytes, 24 lines control 2095s 1152 bytes, 14 lines md5sums 2095s 1296 bytes, 44 lines * postinst #!/bin/sh 2095s 2578 bytes, 87 lines * postrm #!/bin/sh 2095s 2408 bytes, 53 lines * preinst #!/bin/sh 2095s 466 bytes, 10 lines shlibs 2095s 172677 bytes, 4529 lines symbols 2095s 172 bytes, 4 lines triggers 2095s Package: libglib2.0-0xyz 2095s Source: glib2.0 2095s Version: 2.86.3-4 2095s Architecture: arm64 2095s Maintainer: Ubuntu Developers 2095s Installed-Size: 4802 2095s 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) 2095s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 2095s Suggests: low-memory-monitor 2095s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 2095s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 2095s 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) 2095s Section: libs 2095s Priority: important 2095s Multi-Arch: same 2095s Homepage: https://gitlab.gnome.org/GNOME/glib 2095s Description: GLib library of C routines 2095s GLib is a library containing many useful C routines for things such 2095s as trees, hashes, lists, and strings. It is a useful general-purpose 2095s C library used by projects such as GTK+, GIMP, and GNOME. 2095s . 2095s This package contains the shared libraries. 2095s . 2095s (Repackaged on Thu, 29 Jan 2026 13:48:12 +0000 by dpkg-repack.) 2095s + dpkg-deb --contents libglib2.0-0xyz.deb 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/lib/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/lib/aarch64-linux-gnu/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/lib/aarch64-linux-gnu/gio/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/lib/aarch64-linux-gnu/gio/modules/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/lib/aarch64-linux-gnu/glib-2.0/ 2095s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-launch-desktop 2095s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-querymodules 2095s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/glib-compile-schemas 2095s -rw-r--r-- root/root 2100648 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0.8600.3 2095s -rw-r--r-- root/root 1445536 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0.8600.3 2095s -rw-r--r-- root/root 67720 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0.8600.3 2095s -rw-r--r-- root/root 461096 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0.8600.3 2095s -rw-r--r-- root/root 67680 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0.8600.3 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/doc/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/doc/libglib2.0-0t64/ 2095s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 2095s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 2095s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 2095s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 2095s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/glib-2.0/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/glib-2.0/schemas/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/lintian/ 2095s drwxr-xr-x root/root 0 2026-01-29 13:48 ./usr/share/lintian/overrides/ 2095s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 2095s 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 2095s 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 2095s 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 2095s 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 2095s 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 2095s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 2095s Reading package lists... 2095s Building dependency tree... 2095s Reading state information... 2095s dconf-gsettings-backend is already the newest version (0.49.0-4). 2095s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 2095s Solving dependencies... 2096s The following additional packages will be installed: 2096s xdg-user-dirs 2096s Suggested packages: 2096s low-memory-monitor 2096s The following packages will be REMOVED: 2096s libglib2.0-0t64 2096s The following NEW packages will be installed: 2096s libglib2.0-0xyz xdg-user-dirs 2096s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 2096s Need to get 19.2 kB/1604 kB of archives. 2096s After this operation, 213 kB of additional disk space will be used. 2096s Get:1 /tmp/tmp.tbkZJH8qvf/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.86.3-4 [1584 kB] 2099s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 xdg-user-dirs arm64 0.19-1 [19.2 kB] 2100s Fetched 19.2 kB in 4s (5186 B/s) 2100s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 2100s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 2100s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 2100s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 2100s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 2100s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 2100s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 2100s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 2100s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0). 2100s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0). 2100s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56). 2100s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 2100s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 2100s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 2100s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 2100s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 2100s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0). 2100s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 2100s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56). 2100s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4). 2100s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 2100s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 2100s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4). 2100s fwupd depends on libglib2.0-0t64 (>= 2.83.0). 2100s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 2100s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 2100s bolt depends on libglib2.0-0t64 (>= 2.80.0). 2100s 2100s (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 ... 135322 files and directories currently installed.) 2100s Removing libglib2.0-0t64:arm64 (2.86.3-4) ... 2100s Selecting previously unselected package libglib2.0-0xyz:arm64. 2100s (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 ... 135303 files and directories currently installed.) 2100s Preparing to unpack .../libglib2.0-0xyz.deb ... 2100s Unpacking libglib2.0-0xyz:arm64 (2.86.3-4) ... 2100s Selecting previously unselected package xdg-user-dirs. 2100s Preparing to unpack .../xdg-user-dirs_0.19-1_arm64.deb ... 2100s Unpacking xdg-user-dirs (0.19-1) ... 2100s Setting up xdg-user-dirs (0.19-1) ... 2100s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 2100s Setting up libglib2.0-0xyz:arm64 (2.86.3-4) ... 2100s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2100s Processing triggers for man-db (2.13.1-1) ... 2101s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2101s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2101s ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2101s + n=1 2101s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2101s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2101s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2101s + n=2 2101s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2101s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2101s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + n=3 2101s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + n=4 2101s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2101s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + n=5 2101s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + n=6 2101s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2101s + apt-get -y purge libglib2.0-0t64 2101s Reading package lists... 2101s Building dependency tree... 2101s Reading state information... 2101s Solving dependencies... 2102s The following packages will be REMOVED: 2102s libglib2.0-0t64* 2102s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2102s After this operation, 0 B of additional disk space will be used. 2102s (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 ... 135337 files and directories currently installed.) 2102s Purging configuration files for libglib2.0-0t64:arm64 (2.86.3-4) ... 2102s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2102s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2102s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2102s + n=7 2102s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2102s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2102s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2102s + n=8 2102s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2102s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2102s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + n=9 2102s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + n=10 2102s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2102s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + n=11 2102s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + n=12 2102s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2102s + apt-get -y purge libglib2.0-0xyz 2102s Reading package lists... 2103s Building dependency tree... 2103s Reading state information... 2103s Solving dependencies... 2103s The following additional packages will be installed: 2103s libglib2.0-0t64 2103s Suggested packages: 2103s low-memory-monitor 2103s The following packages will be REMOVED: 2103s libglib2.0-0xyz* 2103s The following NEW packages will be installed: 2103s libglib2.0-0t64 2103s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 2103s Need to get 1584 kB of archives. 2103s After this operation, 0 B of additional disk space will be used. 2103s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-0t64 arm64 2.86.3-4 [1584 kB] 2104s Fetched 1584 kB in 0s (3688 kB/s) 2104s dpkg: libglib2.0-0xyz:arm64: dependency problems, but removing anyway as you requested: 2104s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 2104s Package libglib2.0-0t64 is not installed. 2104s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 2104s 2104s (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 ... 135337 files and directories currently installed.) 2104s Removing libglib2.0-0xyz:arm64 (2.86.3-4) ... 2104s Selecting previously unselected package libglib2.0-0t64:arm64. 2104s (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 ... 135318 files and directories currently installed.) 2104s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_arm64.deb ... 2104s Unpacking libglib2.0-0t64:arm64 (2.86.3-4) ... 2104s Setting up libglib2.0-0t64:arm64 (2.86.3-4) ... 2104s Processing triggers for libc-bin (2.42-2ubuntu4) ... 2105s (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 ... 135337 files and directories currently installed.) 2105s Purging configuration files for libglib2.0-0xyz:arm64 (2.86.3-4) ... 2105s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2105s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2105s not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2105s not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2105s 1..16 2105s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2105s + n=13 2105s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2105s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2105s + failed=1 2105s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2105s + n=14 2105s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2105s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2105s + failed=1 2105s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2105s + n=15 2105s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2105s + echo not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2105s + failed=1 2105s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2105s + n=16 2105s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2105s + echo not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2105s + failed=1 2105s + echo 1..16 2105s + exit 1 2105s autopkgtest [13:48:23]: test 1065022-futureproofing: -----------------------] 2105s autopkgtest [13:48:23]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2105s 1065022-futureproofing FLAKY non-zero exit status 1 2106s autopkgtest [13:48:24]: @@@@@@@@@@@@@@@@@@@@ summary 2106s build PASS (superficial) 2106s build-static PASS (superficial) 2106s girepository-tools PASS (superficial) 2106s libgio-2.0-dev-bin PASS (superficial) 2106s libglib2.0-dev PASS (superficial) 2106s installed-tests PASS 2106s closure-refcount PASS 2106s debugcontroller PASS 2106s gdbus-server-auth PASS 2106s gdbus-threading PASS 2106s gmenumodel PASS 2106s mainloop PASS 2106s memory-monitor-dbus PASS 2106s socket PASS 2106s testfilemonitor PASS 2106s thread-pool-slow PASS 2106s threadtests PASS 2106s timeout PASS 2106s timer PASS 2106s 1065022-futureproofing FLAKY non-zero exit status 1